2009-03-16 Darin Adler <darin@apple.com>
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Mar 2009 22:41:23 +0000 (22:41 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Mar 2009 22:41:23 +0000 (22:41 +0000)
        Reviewed by Adele Peterson.

        Bug 24619: RenderObject::selectionStartEnd does not need to be a virtual function
        https://bugs.webkit.org/show_bug.cgi?id=24619

        * rendering/RenderObject.h: Remove virtual keyword from selectionStartEnd declaration.
        * rendering/RenderView.h: Ditto.

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

WebCore/ChangeLog
WebCore/rendering/RenderObject.h
WebCore/rendering/RenderView.h

index ac1e4ce..7898c71 100644 (file)
@@ -1,3 +1,13 @@
+2009-03-16  Darin Adler  <darin@apple.com>
+
+        Reviewed by Adele Peterson.
+
+        Bug 24619: RenderObject::selectionStartEnd does not need to be a virtual function
+        https://bugs.webkit.org/show_bug.cgi?id=24619
+
+        * rendering/RenderObject.h: Remove virtual keyword from selectionStartEnd declaration.
+        * rendering/RenderView.h: Ditto.
+
 2009-03-16  Peter Kasting  <pkasting@google.com>
 
         Reviewed by David Hyatt.
index 597ce8c..58eb2ce 100644 (file)
@@ -651,7 +651,7 @@ public:
     virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) { }
     virtual bool willRenderImage(CachedImage*);
 
-    virtual void selectionStartEnd(int& spos, int& epos) const;
+    void selectionStartEnd(int& spos, int& epos) const;
 
     RenderObject* paintingRootForChildren(PaintInfo& paintInfo) const
     {
index 399cdb4..1c6925c 100644 (file)
@@ -99,7 +99,7 @@ public:
 
     virtual IntRect viewRect() const;
 
-    virtual void selectionStartEnd(int& startPos, int& endPos) const;
+    void selectionStartEnd(int& startPos, int& endPos) const;
 
     IntRect printRect() const { return m_printRect; }
     void setPrintRect(const IntRect& r) { m_printRect = r; }