Don't call setNPWindowRect unless the plugin has
started. Otherwise the plugin won't get the rect
later as it thinks it is not changed.
diff --git a/WebCore/plugins/PluginView.cpp b/WebCore/plugins/PluginView.cpp
index 3f40000..afec228 100644
--- a/WebCore/plugins/PluginView.cpp
+++ b/WebCore/plugins/PluginView.cpp
@@ -127,7 +127,7 @@
return;
#if defined(ANDROID_PLUGINS)
- if (rect != frameRect()) {
+ if (m_isStarted && (rect != frameRect())) {
Widget::setFrameRect(rect);
setNPWindowRect(rect); // only call when it changes
}