Widget::frameRect shouldn't be virtual
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Sep 2011 17:51:19 +0000 (17:51 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Sep 2011 17:51:19 +0000 (17:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=68637

Reviewed by Sam Weinig.

Nobody overrides Widget::frameRect and nobody should.

* platform/Widget.h:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/Widget.h

index 2f25da2..e03d39d 100644 (file)
@@ -1,3 +1,14 @@
+2011-09-22  Anders Carlsson  <andersca@apple.com>
+
+        Widget::frameRect shouldn't be virtual
+        https://bugs.webkit.org/show_bug.cgi?id=68637
+
+        Reviewed by Sam Weinig.
+
+        Nobody overrides Widget::frameRect and nobody should.
+
+        * platform/Widget.h:
+
 2011-09-22  Sergey Glazunov  <serg.glazunov@gmail.com>
 
         Ref protect shaders in V8WebGLRenderingContext::getAttachedShadersCallback
index 21f99c7..46bc3d5 100644 (file)
@@ -149,7 +149,7 @@ public:
     IntPoint location() const { return frameRect().location(); }
 
     virtual void setFrameRect(const IntRect&);
-    virtual IntRect frameRect() const;
+    IntRect frameRect() const;
     IntRect boundsRect() const { return IntRect(0, 0, width(),  height()); }
 
     void resize(int w, int h) { setFrameRect(IntRect(x(), y(), w, h)); }