OSDN Git Service

Fix Gmail blank page
authorTeng-Hui Zhu <ztenghui@google.com>
Wed, 17 Aug 2011 18:24:04 +0000 (11:24 -0700)
committerTeng-Hui Zhu <ztenghui@google.com>
Wed, 17 Aug 2011 18:42:46 +0000 (11:42 -0700)
commit9b5a4abb0835d28669d8db5f31c118bba068a89e
tree971e1aa9fc1168af9cbb2a092d4bcd45033bc883
parentf9bc4199d5ebea7d85e1d74f76abd1b6329f20c2
Fix Gmail blank page

Gmail is updating the tilePages in different scale factor.
One of the beginning scale factor happens to be the same as the initial value 1.0,
then the code will consider the page is prepared which is not true, and we miss
the necessary page update.

Changing the initial value will make sure that we know the current page is not
really prepared yet. And we can update accordingly.

bug:5134126
Change-Id: Ieb4d01513fc4fbe9d996ab62ad5eb43bb5aace2e
Source/WebCore/platform/graphics/android/GLWebViewState.cpp