OSDN Git Service

Fix invalid draw events when the plugin is injected into a loaded page
authorDerek Sollenberger <djsollen@google.com>
Tue, 25 Jan 2011 19:00:37 +0000 (14:00 -0500)
committerDerek Sollenberger <djsollen@google.com>
Tue, 25 Jan 2011 19:08:16 +0000 (14:08 -0500)
commit53ad0914ad57acd3823e30830e5f7395cd8c32f9
treee779dcbd79321e2ad00df426f40654b86b7e9782
parent5db24b8cfc8994f0d6f5118ed8dca23028c74fed
Fix invalid draw events when the plugin is injected into a loaded page

Use WebViewCore's scale value instead of maintaining our own to
prevent getting out of sync and reporting the wrong zoom to the plugin.

bug: 3388258
Change-Id: I45f2b14c48442ab0211a9bafeb42b2216b706346
WebKit/android/plugins/PluginWidgetAndroid.cpp
WebKit/android/plugins/PluginWidgetAndroid.h