Title: [105170] branches/safari-534.54-branch/Source/WebKit2
Revision
105170
Author
[email protected]
Date
2012-01-17 10:57:06 -0800 (Tue, 17 Jan 2012)

Log Message

Merge fix for 10516690.

Modified Paths


Diff

Modified: branches/safari-534.54-branch/Source/WebKit2/ChangeLog (105169 => 105170)


--- branches/safari-534.54-branch/Source/WebKit2/ChangeLog	2012-01-17 18:55:53 UTC (rev 105169)
+++ branches/safari-534.54-branch/Source/WebKit2/ChangeLog	2012-01-17 18:57:06 UTC (rev 105170)
@@ -1,3 +1,13 @@
+2012-01-17  Anders Carlsson  <[email protected]>
+
+        <rdar://problem/10516690> REGRESSION: Incomplete repaint on Flash element after pinch to zoom
+
+        Pass the frame rect as the clip rect in the wantsWindowRelativeCoordinates() case as well, since
+        clip rect computation is broken for transformed plug-ins. This matches the !wantsWindowRelativeCoordinates() case.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        (WebKit::PluginView::viewGeometryDidChange):
+
 2012-01-16  Mark Rowe  <[email protected]>
 
         Merge r103860.

Modified: branches/safari-534.54-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (105169 => 105170)


--- branches/safari-534.54-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2012-01-17 18:55:53 UTC (rev 105169)
+++ branches/safari-534.54-branch/Source/WebKit2/WebProcess/Plugins/PluginView.cpp	2012-01-17 18:57:06 UTC (rev 105170)
@@ -715,7 +715,9 @@
     if (m_plugin->wantsWindowRelativeCoordinates()) {
         // Get the frame rect in window coordinates.
         IntRect rect = parent()->contentsToWindow(frameRect());
-        m_plugin->deprecatedGeometryDidChange(rect, clipRectInWindowCoordinates());
+
+        // The clip rect isn't correct here.
+        m_plugin->deprecatedGeometryDidChange(rect, rect);
     }
 
     ASSERT(frame());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to