From 74f79778892548221468d075f949acb3d4064368 Mon Sep 17 00:00:00 2001 From: Grace Kloba Date: Thu, 25 Mar 2010 23:15:06 -0700 Subject: In Android, as we always remap the plugin from page space to view space, we do want to update when the rect in the page space changed. This should fix the bug where the plugin is inside a fixed position. So even its page coordinate changed when scrolling, its window coordinate didn't change. We missed the update. Fix http://b/issue?id=2542934 --- WebCore/plugins/PluginView.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'WebCore/plugins/PluginView.h') diff --git a/WebCore/plugins/PluginView.h b/WebCore/plugins/PluginView.h index 41e563c..f14eb3d 100644 --- a/WebCore/plugins/PluginView.h +++ b/WebCore/plugins/PluginView.h @@ -410,6 +410,9 @@ private: IntRect m_clipRect; // The clip rect to apply to a windowed plug-in IntRect m_windowRect; // Our window rect. +#ifdef ANDROID_PLUGINS + IntRect m_pageRect; // The rect in page coordinate system. +#endif bool m_loadManually; RefPtr m_manualStream; -- cgit v1.1