diff options
author | Cary Clark <cary@android.com> | 2010-06-25 11:27:47 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-06-29 09:07:59 -0400 |
commit | 9a211b99b45f5b1028389349eb946120e849b540 (patch) | |
tree | 579bcf6babef89e5fcaaa4f7bc53150a7f37763e /WebCore/platform/text/TextEncodingRegistry.cpp | |
parent | 5a22f5d5a894759137cbc73b987cc21fe3dbcb2e (diff) | |
download | external_webkit-9a211b99b45f5b1028389349eb946120e849b540.zip external_webkit-9a211b99b45f5b1028389349eb946120e849b540.tar.gz external_webkit-9a211b99b45f5b1028389349eb946120e849b540.tar.bz2 |
set maximum image size
Our use of web settings does not specify the maximum image size,
although we have some hard-coded values used when decoding the
image. For defective images, the hard-coded values are not enough,
since we may exceed memory in the decoder before the limit is
reached.
Pass along our limits to the decoder, and respect any limits
set by the caller.
companion change in frameworks/base
Change-Id: Icdfca87a44a3af8bcc1f0ed4792e04e060a67333
http://b/2689053
Diffstat (limited to 'WebCore/platform/text/TextEncodingRegistry.cpp')
0 files changed, 0 insertions, 0 deletions