Title: [172634] trunk/Source/WebKit2
Revision
172634
Author
[email protected]
Date
2014-08-15 11:26:34 -0700 (Fri, 15 Aug 2014)

Log Message

Fix plugin visibility initialization
https://bugs.webkit.org/show_bug.cgi?id=135985

Reviewed by Geoffrey Garen.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::didInitializePlugin):
    - We're not currently initializing the plugin visibility state,
      and we're passing the wrong value for window visibility.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (172633 => 172634)


--- trunk/Source/WebKit2/ChangeLog	2014-08-15 18:26:10 UTC (rev 172633)
+++ trunk/Source/WebKit2/ChangeLog	2014-08-15 18:26:34 UTC (rev 172634)
@@ -1,5 +1,17 @@
 2014-08-15  Gavin Barraclough  <[email protected]>
 
+        Fix plugin visibility initialization
+        https://bugs.webkit.org/show_bug.cgi?id=135985
+
+        Reviewed by Geoffrey Garen.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::didInitializePlugin):
+            - We're not currently initializing the plugin visibility state,
+              and we're passing the wrong value for window visibility.
+
+2014-08-15  Gavin Barraclough  <[email protected]>
+
         Simplify visibility activity accounting for plugins
         https://bugs.webkit.org/show_bug.cgi?id=135981
 

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (172633 => 172634)


--- trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2014-08-15 18:26:10 UTC (rev 172633)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2014-08-15 18:26:34 UTC (rev 172634)
@@ -647,7 +647,8 @@
             m_pluginElement->dispatchPendingMouseClick();
     }
 
-    m_plugin->windowVisibilityChanged(m_webPage->isVisible());
+    m_plugin->visibilityDidChange(isVisible());
+    m_plugin->windowVisibilityChanged(m_webPage->isVisibleOrOccluded());
     m_plugin->windowFocusChanged(m_webPage->windowIsFocused());
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to