Title: [145346] trunk/Source/WebCore
Revision
145346
Author
timothy_hor...@apple.com
Date
2013-03-11 01:43:22 -0700 (Mon, 11 Mar 2013)

Log Message

RenderSnapshottedPlugIn paints in PaintPhaseBlockBackground instead of PaintPhaseForeground
https://bugs.webkit.org/show_bug.cgi?id=111962
<rdar://problem/13289335>

Reviewed by Dean Jackson.

RenderSnapshottedPlugIn should paint its snapshot during the foreground
painting phase, instead of BlockBackground, to match normal plugin painting.

* rendering/RenderSnapshottedPlugIn.cpp:
(WebCore::RenderSnapshottedPlugIn::paint):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (145345 => 145346)


--- trunk/Source/WebCore/ChangeLog	2013-03-11 08:32:10 UTC (rev 145345)
+++ trunk/Source/WebCore/ChangeLog	2013-03-11 08:43:22 UTC (rev 145346)
@@ -1,3 +1,17 @@
+2013-03-11  Tim Horton  <timothy_hor...@apple.com>
+
+        RenderSnapshottedPlugIn paints in PaintPhaseBlockBackground instead of PaintPhaseForeground
+        https://bugs.webkit.org/show_bug.cgi?id=111962
+        <rdar://problem/13289335>
+
+        Reviewed by Dean Jackson.
+
+        RenderSnapshottedPlugIn should paint its snapshot during the foreground
+        painting phase, instead of BlockBackground, to match normal plugin painting.
+
+        * rendering/RenderSnapshottedPlugIn.cpp:
+        (WebCore::RenderSnapshottedPlugIn::paint):
+
 2013-03-07  Alexander Pavlov  <apav...@chromium.org>
 
         Web Inspector: [Elements] XSLT transformation result from the xml-stylesheet PI not rendered

Modified: trunk/Source/WebCore/rendering/RenderSnapshottedPlugIn.cpp (145345 => 145346)


--- trunk/Source/WebCore/rendering/RenderSnapshottedPlugIn.cpp	2013-03-11 08:32:10 UTC (rev 145345)
+++ trunk/Source/WebCore/rendering/RenderSnapshottedPlugIn.cpp	2013-03-11 08:43:22 UTC (rev 145346)
@@ -88,7 +88,7 @@
 
 void RenderSnapshottedPlugIn::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
 {
-    if (paintInfo.phase == PaintPhaseBlockBackground && plugInImageElement()->displayState() < HTMLPlugInElement::PlayingWithPendingMouseClick) {
+    if (paintInfo.phase == PaintPhaseForeground && plugInImageElement()->displayState() < HTMLPlugInElement::PlayingWithPendingMouseClick) {
         paintSnapshot(paintInfo, paintOffset);
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to