Reviewed by Anders Carlsson.
authorcwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2011 00:14:07 +0000 (00:14 +0000)
committercwzwarich@webkit.org <cwzwarich@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2011 00:14:07 +0000 (00:14 +0000)
WebCore fails to build with Clang's -Woverloaded-virtual
https://bugs.webkit.org/show_bug.cgi?id=54367

* loader/PingLoader.h:
(WebCore::PingLoader::didReceiveData): Change the method signature to match the signature
in the base class.

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

Source/WebCore/ChangeLog
Source/WebCore/loader/PingLoader.h

index ba2247a..1856078 100644 (file)
@@ -1,3 +1,14 @@
+2011-02-13  Cameron Zwarich  <zwarich@apple.com>
+
+        Reviewed by Anders Carlsson.
+
+        WebCore fails to build with Clang's -Woverloaded-virtual
+        https://bugs.webkit.org/show_bug.cgi?id=54367
+
+        * loader/PingLoader.h:
+        (WebCore::PingLoader::didReceiveData): Change the method signature to match the signature
+        in the base class.
+
 2011-02-13  Nico Weber  <thakis@chromium.org>
 
         Reviewed by Anders Carlsson.
index 5988b60..252c09b 100644 (file)
@@ -62,7 +62,7 @@ private:
     PingLoader(Frame*, const ResourceRequest&);
 
     void didReceiveResponse(ResourceHandle*, const ResourceResponse&) { delete this; }
-    void didReceiveData(ResourceHandle*, const char*, int) { delete this; }
+    void didReceiveData(ResourceHandle*, const char*, int, int) { delete this; }
     void didFinishLoading(ResourceHandle*, double) { delete this; }
     void didFail(ResourceHandle*, const ResourceError&) { delete this; }
     void timeout(Timer<PingLoader>*) { delete this; }