Title: [196059] trunk/Source/WebKit2
Revision
196059
Author
[email protected]
Date
2016-02-03 01:56:54 -0800 (Wed, 03 Feb 2016)

Log Message

Unreviewed. Fix incorrect ASSERT introduced in r196053.

* WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
(WebKit::NetscapePluginX11::paint): Ensure the plugin is not
windowed if paint() is called.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (196058 => 196059)


--- trunk/Source/WebKit2/ChangeLog	2016-02-03 09:54:20 UTC (rev 196058)
+++ trunk/Source/WebKit2/ChangeLog	2016-02-03 09:56:54 UTC (rev 196059)
@@ -1,3 +1,11 @@
+2016-02-03  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Fix incorrect ASSERT introduced in r196053.
+
+        * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
+        (WebKit::NetscapePluginX11::paint): Ensure the plugin is not
+        windowed if paint() is called.
+
 2016-02-02  Carlos Garcia Campos  <[email protected]>
 
         [UNIX] Add support for windowless NPAPI plugins with no UI in non X11 platforms

Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp (196058 => 196059)


--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp	2016-02-03 09:54:20 UTC (rev 196058)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp	2016-02-03 09:56:54 UTC (rev 196059)
@@ -272,7 +272,7 @@
 
 void NetscapePluginX11::paint(GraphicsContext& context, const IntRect& dirtyRect)
 {
-    ASSERT(m_plugin.isWindowed());
+    ASSERT(!m_plugin.isWindowed());
 
     if (context.paintingDisabled() || !m_drawable)
         return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to