Get rid of PluginView::setBoundsSize from WebKit2
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2011 00:05:31 +0000 (00:05 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2011 00:05:31 +0000 (00:05 +0000)
https://bugs.webkit.org/show_bug.cgi?id=68489

Reviewed by Dan Bernstein.

Remove m_boundsSize and the setter since they aren't used anywhere.

* WebProcess/Plugins/PluginView.cpp:
* WebProcess/Plugins/PluginView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95585 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/Plugins/PluginView.cpp
Source/WebKit2/WebProcess/Plugins/PluginView.h

index 5f21978..b8a79bc 100644 (file)
@@ -1,3 +1,15 @@
+2011-09-20  Anders Carlsson  <andersca@apple.com>
+
+        Get rid of PluginView::setBoundsSize from WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=68489
+
+        Reviewed by Dan Bernstein.
+
+        Remove m_boundsSize and the setter since they aren't used anywhere.
+
+        * WebProcess/Plugins/PluginView.cpp:
+        * WebProcess/Plugins/PluginView.h:
+
 2011-09-20  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
 
         [Qt] QTouchWebView missing signal tests for loadProgress
index 61c8015..9576fd2 100644 (file)
@@ -525,13 +525,6 @@ void PluginView::setFrameRect(const WebCore::IntRect& rect)
     viewGeometryDidChange();
 }
 
-void PluginView::setBoundsSize(const WebCore::IntSize& size)
-{
-    Widget::setBoundsSize(size);
-    m_boundsSize = size;
-    viewGeometryDidChange();
-}
-
 void PluginView::paint(GraphicsContext* context, const IntRect& dirtyRect)
 {
     if (context->paintingDisabled() || !m_plugin || !m_isInitialized)
index dc26c87..54927ef 100644 (file)
@@ -106,7 +106,6 @@ private:
 
     // WebCore::Widget
     virtual void setFrameRect(const WebCore::IntRect&);
-    virtual void setBoundsSize(const WebCore::IntSize&);
     virtual void paint(WebCore::GraphicsContext*, const WebCore::IntRect&);
     virtual void invalidateRect(const WebCore::IntRect&);
     virtual void setFocus(bool);
@@ -195,7 +194,6 @@ private:
     RefPtr<WebCore::SharedBuffer> m_manualStreamData;
     
     RefPtr<ShareableBitmap> m_snapshot;
-    WebCore::IntSize m_boundsSize;
 };
 
 } // namespace WebKit