Changeset 138720 in webkit


Ignore:
Timestamp:
Jan 3, 2013 10:48:41 AM (11 years ago)
Author:
tsepez@chromium.org
Message:

PingLoader.h missing virtual and OVERRIDE keywords on its inherited methods.
https://bugs.webkit.org/show_bug.cgi?id=105975

Reviewed by Nate Chapin.

Change adds compile-time checks only, so no new tests.

  • loader/PingLoader.h:

(PingLoader):
(WebCore::PingLoader::timeout):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r138717 r138720  
     12013-01-03  Tom Sepez  <tsepez@chromium.org>
     2
     3        PingLoader.h missing virtual and OVERRIDE keywords on its inherited methods.
     4        https://bugs.webkit.org/show_bug.cgi?id=105975
     5
     6        Reviewed by Nate Chapin.
     7
     8        Change adds compile-time checks only, so no new tests.
     9
     10        * loader/PingLoader.h:
     11        (PingLoader):
     12        (WebCore::PingLoader::timeout):
     13
    1142013-01-02  Levi Weintraub  <leviw@chromium.org>
    215
  • trunk/Source/WebCore/loader/PingLoader.h

    r133323 r138720  
    5959    static void sendViolationReport(Frame*, const KURL& reportURL, PassRefPtr<FormData> report);
    6060
    61     ~PingLoader();
     61    virtual ~PingLoader();
    6262
    6363private:
    6464    PingLoader(Frame*, ResourceRequest&);
    6565
    66     void didReceiveResponse(ResourceHandle*, const ResourceResponse&) { delete this; }
    67     void didReceiveData(ResourceHandle*, const char*, int, int) { delete this; }
    68     void didFinishLoading(ResourceHandle*, double) { delete this; }
    69     void didFail(ResourceHandle*, const ResourceError&) { delete this; }
     66    virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&) OVERRIDE { delete this; }
     67    virtual void didReceiveData(ResourceHandle*, const char*, int, int) OVERRIDE { delete this; }
     68    virtual void didFinishLoading(ResourceHandle*, double) OVERRIDE { delete this; }
     69    virtual void didFail(ResourceHandle*, const ResourceError&) OVERRIDE { delete this; }
     70    virtual bool shouldUseCredentialStorage(ResourceHandle*)  OVERRIDE { return m_shouldUseCredentialStorage; }
    7071    void timeout(Timer<PingLoader>*) { delete this; }
    71     bool shouldUseCredentialStorage(ResourceHandle*) { return m_shouldUseCredentialStorage; }
    7272
    7373    RefPtr<ResourceHandle> m_handle;
Note: See TracChangeset for help on using the changeset viewer.