Changeset 88112 in webkit


Ignore:
Timestamp:
Jun 4, 2011 5:06:49 AM (13 years ago)
Author:
thakis@chromium.org
Message:

2011-06-04 Nico Weber <thakis@chromium.org>

Reviewed by James Robinson.

[chromium] Make ResourceHandleInternal's destructor virtual
https://bugs.webkit.org/show_bug.cgi?id=62073

This is _not_ to fix a real bug, just to make clang's
-Wdelete-non-virtual-dtor happy. As discussed at
http://codereview.chromium.org/7094005/, we prefer making leaf class
destructors virtual over making the leaf classes final.

  • src/ResourceHandle.cpp: (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r88109 r88112  
     12011-06-04  Nico Weber  <thakis@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        [chromium] Make ResourceHandleInternal's destructor virtual
     6        https://bugs.webkit.org/show_bug.cgi?id=62073
     7
     8        This is _not_ to fix a real bug, just to make clang's
     9        -Wdelete-non-virtual-dtor happy. As discussed at
     10        http://codereview.chromium.org/7094005/, we prefer making leaf class
     11        destructors virtual over making the leaf classes final.
     12
     13        * src/ResourceHandle.cpp:
     14        (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
     15
    1162011-06-04  Nico Weber  <thakis@chromium.org>
    217
  • trunk/Source/WebKit/chromium/src/ResourceHandle.cpp

    r84893 r88112  
    6363    }
    6464
     65    virtual ~ResourceHandleInternal() { }
     66
    6567    void start();
    6668    void cancel();
Note: See TracChangeset for help on using the changeset viewer.