Title: [99250] trunk/Source/WebKit2
Revision
99250
Author
[email protected]
Date
2011-11-03 17:13:45 -0700 (Thu, 03 Nov 2011)

Log Message

Get rid of NetscapePlugin::m_clipRectInWindowCoordinates
https://bugs.webkit.org/show_bug.cgi?id=71521

Reviewed by Dan Bernstein.

* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::geometryDidChange):
* WebProcess/Plugins/Netscape/NetscapePlugin.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (99249 => 99250)


--- trunk/Source/WebKit2/ChangeLog	2011-11-04 00:13:39 UTC (rev 99249)
+++ trunk/Source/WebKit2/ChangeLog	2011-11-04 00:13:45 UTC (rev 99250)
@@ -1,5 +1,16 @@
 2011-11-03  Anders Carlsson  <[email protected]>
 
+        Get rid of NetscapePlugin::m_clipRectInWindowCoordinates
+        https://bugs.webkit.org/show_bug.cgi?id=71521
+
+        Reviewed by Dan Bernstein.
+
+        * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+        (WebKit::NetscapePlugin::geometryDidChange):
+        * WebProcess/Plugins/Netscape/NetscapePlugin.h:
+
+2011-11-03  Anders Carlsson  <[email protected]>
+
         Use convertToRootView(IntPoint()) instead of m_frameRectInWindowCoordinates.location() where possible
         https://bugs.webkit.org/show_bug.cgi?id=71520
 

Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp (99249 => 99250)


--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp	2011-11-04 00:13:39 UTC (rev 99249)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp	2011-11-04 00:13:45 UTC (rev 99250)
@@ -696,9 +696,6 @@
     IntPoint frameRectLocationInWindowCoordinates = m_pluginToRootViewTransform.mapPoint(IntPoint());
     m_frameRectInWindowCoordinates = IntRect(frameRectLocationInWindowCoordinates, m_pluginSize);
 
-    IntPoint clipRectLocationInWindowCoordinates = m_pluginToRootViewTransform.mapPoint(clipRect.location());
-    m_clipRectInWindowCoordinates = IntRect(clipRectLocationInWindowCoordinates, m_clipRect.size());
-
     platformGeometryDidChange();
 
     if (!shouldCallWindow)

Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h (99249 => 99250)


--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h	2011-11-04 00:13:39 UTC (rev 99249)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h	2011-11-04 00:13:45 UTC (rev 99250)
@@ -247,7 +247,6 @@
 
     // FIXME: Get rid of these.
     WebCore::IntRect m_frameRectInWindowCoordinates;
-    WebCore::IntRect m_clipRectInWindowCoordinates;
 
     CString m_userAgent;
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to