Allow CFDictionaryCreateMutable to grow in create_exact_copy.

This dictionary previously only ever had one entry and so was created
that way. It may now want two entries, but that won't work because the
dictionary was told to only expect one entry. It is documented that
adding more entries than initially specified results in undefined
behavior (zero means resize).

Change-Id: I6d74ddad240ad4a8e2d4b935f7e73e1674a1ff62
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/280736
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
1 file changed