Add missing vtable override specifiers under Source/WebCore/accessibility, Source...
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 May 2015 08:39:19 +0000 (08:39 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 May 2015 08:39:19 +0000 (08:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=144792

Reviewed by Darin Adler.

Update virtual method overrides under Source/WebCore/accessibility
and Source/WebCore/dom which are missing the override specifier.

* accessibility/AccessibilityMockObject.h:
(WebCore::AccessibilityMockObject::isDetachedFromParent): Deleted.
* accessibility/AccessibilityRenderObject.h:
* dom/DecodedDataDocumentParser.h:
* dom/TouchEvent.h:

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

Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityMockObject.h
Source/WebCore/accessibility/AccessibilityRenderObject.h
Source/WebCore/dom/DecodedDataDocumentParser.h
Source/WebCore/dom/TouchEvent.h

index b6d2260..c4e3a22 100644 (file)
@@ -1,3 +1,19 @@
+2015-05-11  Zan Dobersek  <zdobersek@igalia.com>
+
+        Add missing vtable override specifiers under Source/WebCore/accessibility, Source/WebCore/dom
+        https://bugs.webkit.org/show_bug.cgi?id=144792
+
+        Reviewed by Darin Adler.
+
+        Update virtual method overrides under Source/WebCore/accessibility
+        and Source/WebCore/dom which are missing the override specifier.
+
+        * accessibility/AccessibilityMockObject.h:
+        (WebCore::AccessibilityMockObject::isDetachedFromParent): Deleted.
+        * accessibility/AccessibilityRenderObject.h:
+        * dom/DecodedDataDocumentParser.h:
+        * dom/TouchEvent.h:
+
 2015-05-10  Zan Dobersek  <zdobersek@igalia.com>
 
         Have MediaStream::getAudioTracks(), MediaStream::getVideoTracks() return const references
index a3aa2d8..5059350 100644 (file)
@@ -49,7 +49,7 @@ protected:
 
 private:
     virtual bool isMockObject() const override final { return true; }
-    virtual bool isDetachedFromParent() { return !m_parent; }
+    virtual bool isDetachedFromParent() override { return !m_parent; }
 
     virtual bool computeAccessibilityIsIgnored() const override;
 };
index 5163189..e181867 100644 (file)
@@ -265,8 +265,8 @@ private:
 #if PLATFORM(COCOA)
     void updateAttachmentViewParents();
 #endif
-    virtual String expandedTextValue() const;
-    virtual bool supportsExpandedTextValue() const;
+    virtual String expandedTextValue() const override;
+    virtual bool supportsExpandedTextValue() const override;
     void updateRoleAfterChildrenCreation();
     
     void ariaSelectedRows(AccessibilityChildrenVector&);
index 34934ec..82f8bd1 100644 (file)
@@ -41,7 +41,7 @@ protected:
 
 private:
     // append is used by DocumentWriter::replaceDocument.
-    virtual void append(PassRefPtr<StringImpl>) = 0;
+    virtual void append(PassRefPtr<StringImpl>) override = 0;
 
     // appendBytes and flush are used by DocumentWriter (the loader).
     virtual void appendBytes(DocumentWriter&, const char* bytes, size_t length) override;
index bcf09a1..1515afd 100644 (file)
@@ -71,7 +71,7 @@ public:
 
     virtual bool isTouchEvent() const override;
 
-    virtual EventInterface eventInterface() const;
+    virtual EventInterface eventInterface() const override;
 
 private:
     TouchEvent();