Title: [154077] trunk/Source/WebKit2
Revision
154077
Author
[email protected]
Date
2013-08-14 15:49:47 -0700 (Wed, 14 Aug 2013)

Log Message

<https://webkit.org/b/119820> Add pluginView-related logging to WebPage

Reviewed by Tim Horton.

Add some more diagnostic output to help track down bugs.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::addPluginView): More logging.
(WebKit::WebPage::removePluginView): Ditto.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (154076 => 154077)


--- trunk/Source/WebKit2/ChangeLog	2013-08-14 22:10:28 UTC (rev 154076)
+++ trunk/Source/WebKit2/ChangeLog	2013-08-14 22:49:47 UTC (rev 154077)
@@ -1,3 +1,15 @@
+2013-08-14  Dean Jackson  <[email protected]>
+
+        <https://webkit.org/b/119820> Add pluginView-related logging to WebPage
+
+        Reviewed by Tim Horton.
+
+        Add some more diagnostic output to help track down bugs.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::addPluginView): More logging.
+        (WebKit::WebPage::removePluginView): Ditto.
+
 2013-08-14  Alexey Proskuryakov  <[email protected]>
 
         [WK2] Sync messages with with non-default timeout sent from secondary threads always time out

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (154076 => 154077)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2013-08-14 22:10:28 UTC (rev 154076)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2013-08-14 22:49:47 UTC (rev 154077)
@@ -3067,7 +3067,7 @@
 
     m_pluginViews.add(pluginView);
 #if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
-    LOG(Plugins, "Primary Plug-In Detection: triggering detection from addPluginView.");
+    LOG(Plugins, "Primary Plug-In Detection: triggering detection from addPluginView(%p)", pluginView);
     m_determinePrimarySnapshottedPlugInTimer.startOneShot(0);
 #endif
 }
@@ -3077,6 +3077,9 @@
     ASSERT(m_pluginViews.contains(pluginView));
 
     m_pluginViews.remove(pluginView);
+#if ENABLE(PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
+    LOG(Plugins, "Primary Plug-In Detection: removePluginView(%p)", pluginView);
+#endif
 }
 
 void WebPage::sendSetWindowFrame(const FloatRect& windowFrame)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to