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

Reviewed by Darin Adler.

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

* loader/DocumentThreadableLoader.h:
(WebCore::DocumentThreadableLoader::refThreadableLoader):
(WebCore::DocumentThreadableLoader::derefThreadableLoader):
* loader/cache/CachedRawResource.h:
* xml/parser/XMLDocumentParser.h:

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

Source/WebCore/ChangeLog
Source/WebCore/loader/DocumentThreadableLoader.h
Source/WebCore/loader/cache/CachedRawResource.h
Source/WebCore/xml/parser/XMLDocumentParser.h

index c4e3a22..d18d6f3 100644 (file)
@@ -1,5 +1,21 @@
 2015-05-11  Zan Dobersek  <zdobersek@igalia.com>
 
+        Add missing vtable override specifiers under Source/WebCore/loader, Source/WebCore/xml
+        https://bugs.webkit.org/show_bug.cgi?id=144793
+
+        Reviewed by Darin Adler.
+
+        Update virtual method overrides under Source/WebCore/loader
+        and Source/WebCore/dom which are missing the override specifier.
+
+        * loader/DocumentThreadableLoader.h:
+        (WebCore::DocumentThreadableLoader::refThreadableLoader):
+        (WebCore::DocumentThreadableLoader::derefThreadableLoader):
+        * loader/cache/CachedRawResource.h:
+        * xml/parser/XMLDocumentParser.h:
+
+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
 
index 17d3ced..778d31e 100644 (file)
@@ -56,15 +56,15 @@ namespace WebCore {
         static PassRefPtr<DocumentThreadableLoader> create(Document&, ThreadableLoaderClient&, const ResourceRequest&, const ThreadableLoaderOptions&);
         virtual ~DocumentThreadableLoader();
 
-        virtual void cancel();
+        virtual void cancel() override;
         virtual void setDefersLoading(bool);
 
         using RefCounted<DocumentThreadableLoader>::ref;
         using RefCounted<DocumentThreadableLoader>::deref;
 
     protected:
-        virtual void refThreadableLoader() { ref(); }
-        virtual void derefThreadableLoader() { deref(); }
+        virtual void refThreadableLoader() override { ref(); }
+        virtual void derefThreadableLoader() override { deref(); }
 
     private:
         enum BlockingBehavior {
index 1d432cb..f142564 100644 (file)
@@ -68,7 +68,7 @@ private:
     void notifyClientsDataWasReceived(const char* data, unsigned length);
 
 #if USE(SOUP)
-    virtual char* getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize);
+    virtual char* getOrCreateReadBuffer(size_t requestedSize, size_t& actualSize) override;
 #endif
 
     unsigned long m_identifier;
index a551613..b59ad2a 100644 (file)
@@ -88,7 +88,7 @@ class Text;
         static bool parseDocumentFragment(const String&, DocumentFragment&, Element* parent = 0, ParserContentPolicy = AllowScriptingContent);
 
         // Used by the XMLHttpRequest to check if the responseXML was well formed.
-        virtual bool wellFormed() const { return !m_sawError; }
+        virtual bool wellFormed() const override { return !m_sawError; }
 
         static bool supportsXMLVersion(const String&);