Title: [98742] branches/subpixellayout/Source/WebKit2/WebProcess/Plugins/PluginView.cpp
- Revision
- 98742
- Author
- [email protected]
- Date
- 2011-10-28 11:28:22 -0700 (Fri, 28 Oct 2011)
Log Message
Fix PluginView rect calculation
Modified Paths
Diff
Modified: branches/subpixellayout/Source/WebKit2/WebProcess/Plugins/PluginView.cpp (98741 => 98742)
--- branches/subpixellayout/Source/WebKit2/WebProcess/Plugins/PluginView.cpp 2011-10-28 18:28:00 UTC (rev 98741)
+++ branches/subpixellayout/Source/WebKit2/WebProcess/Plugins/PluginView.cpp 2011-10-28 18:28:22 UTC (rev 98742)
@@ -723,7 +723,7 @@
rect = parent()->contentsToWindow(frameRect());
} else {
// FIXME: The plug-in shouldn't know its location relative to its parent frame.
- rect = frameRect();
+ rect = enclosingIntRect(frameRect());
}
m_plugin->deprecatedGeometryDidChange(rect, clipRectInWindowCoordinates());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes