Title: [160255] trunk/Source/WebCore
Revision
160255
Author
[email protected]
Date
2013-12-06 15:06:41 -0800 (Fri, 06 Dec 2013)

Log Message

r159827 broke plug-in snapshotting
https://bugs.webkit.org/show_bug.cgi?id=125365

Reviewed by Dean Jackson.

No new tests, covered by existing tests.

* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot): Return early if there is NOT
    a page, not if there IS a page.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (160254 => 160255)


--- trunk/Source/WebCore/ChangeLog	2013-12-06 22:56:46 UTC (rev 160254)
+++ trunk/Source/WebCore/ChangeLog	2013-12-06 23:06:41 UTC (rev 160255)
@@ -1,3 +1,16 @@
+2013-12-06  Eric Carlson  <[email protected]>
+
+        r159827 broke plug-in snapshotting
+        https://bugs.webkit.org/show_bug.cgi?id=125365
+
+        Reviewed by Dean Jackson.
+
+        No new tests, covered by existing tests.
+
+        * html/HTMLPlugInImageElement.cpp:
+        (WebCore::HTMLPlugInImageElement::didAddUserAgentShadowRoot): Return early if there is NOT
+            a page, not if there IS a page.
+
 2013-12-06  Roger Fong <[email protected]> and Brent Fulgham  <[email protected]>
 
         [Win] Support compiling with VS2013

Modified: trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp (160254 => 160255)


--- trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp	2013-12-06 22:56:46 UTC (rev 160254)
+++ trunk/Source/WebCore/html/HTMLPlugInImageElement.cpp	2013-12-06 23:06:41 UTC (rev 160255)
@@ -367,7 +367,7 @@
         return;
 
     Page* page = document().page();
-    if (page)
+    if (!page)
         return;
 
     // Reset any author styles that may apply as we only want explicit
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to