OSDN Git Service

Not set max decoded image size in WebCore.
authorShimeng (Simon) Wang <swang@google.com>
Thu, 6 Jan 2011 22:14:18 +0000 (14:14 -0800)
committerShimeng (Simon) Wang <swang@google.com>
Thu, 6 Jan 2011 22:14:18 +0000 (14:14 -0800)
commitc1416369812a7eeaebe4a39a2d3fc2ffab03139d
tree8ff5a71fc8aa248adb10044872bbf81f81bb2156
parent4014a341b3afd6f880646b046088025ea1f07807
Not set max decoded image size in WebCore.

Two reasons:
1. the image size will be limited in ImageSourceAndroid.cpp.
2. WebCore will do an estimation comparison against that max value, which
will limit some good cases.

For example, in the case of the following bug, the background image size is limited
and good, but its estimation value in WebCore will exceed the max.

issue: 3240499
Change-Id: I721c7565beb648dd83200d05e223012299997e04
WebKit/android/jni/WebSettings.cpp