Title: [99205] trunk/Source/WebKit2
- Revision
- 99205
- Author
- [email protected]
- Date
- 2011-11-03 09:54:23 -0700 (Thu, 03 Nov 2011)
Log Message
Use the right function to determine whether NPWindow coordinates should be window relative
https://bugs.webkit.org/show_bug.cgi?id=71480
Reviewed by Adam Roben.
We want to use wantsWindowRelativeNPWindowCoordinates here, and not wantsWindowRelativeCoordinates
which is a temporary function that will be removed (and that returns the wrong value!)
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::geometryDidChange):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (99204 => 99205)
--- trunk/Source/WebKit2/ChangeLog 2011-11-03 16:31:26 UTC (rev 99204)
+++ trunk/Source/WebKit2/ChangeLog 2011-11-03 16:54:23 UTC (rev 99205)
@@ -1,3 +1,16 @@
+2011-11-03 Anders Carlsson <[email protected]>
+
+ Use the right function to determine whether NPWindow coordinates should be window relative
+ https://bugs.webkit.org/show_bug.cgi?id=71480
+
+ Reviewed by Adam Roben.
+
+ We want to use wantsWindowRelativeNPWindowCoordinates here, and not wantsWindowRelativeCoordinates
+ which is a temporary function that will be removed (and that returns the wrong value!)
+
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ (WebKit::NetscapePlugin::geometryDidChange):
+
2011-11-03 Simon Hausmann <[email protected]>
Unreviewed build fix after r99195.
Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp (99204 => 99205)
--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp 2011-11-03 16:31:26 UTC (rev 99204)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp 2011-11-03 16:54:23 UTC (rev 99205)
@@ -684,7 +684,7 @@
bool shouldCallWindow = true;
// If the plug-in doesn't want window relative coordinates, we don't need to call setWindow unless its size or clip rect changes.
- if (!wantsWindowRelativeCoordinates() && m_pluginSize == pluginSize && m_clipRect == clipRect)
+ if (!wantsWindowRelativeNPWindowCoordinates() && m_pluginSize == pluginSize && m_clipRect == clipRect)
shouldCallWindow = false;
m_pluginSize = pluginSize;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes