Changeset 88108 in webkit


Ignore:
Timestamp:
Jun 4, 2011 4: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 WebTextCheckingCompletionImpl's destructor virtual
https://bugs.webkit.org/show_bug.cgi?id=62074

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/WebTextCheckingCompletionImpl.h: (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

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

    r88107 r88108  
     12011-06-04  Nico Weber  <thakis@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        [chromium] Make WebTextCheckingCompletionImpl's destructor virtual
     6        https://bugs.webkit.org/show_bug.cgi?id=62074
     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/WebTextCheckingCompletionImpl.h:
     14        (WebKit::WebTextCheckingCompletionImpl::~WebTextCheckingCompletionImpl):
     15
    1162011-06-04  Nico Weber  <thakis@chromium.org>
    217
  • trunk/Source/WebKit/chromium/src/WebTextCheckingCompletionImpl.h

    r77875 r88108  
    4747    }
    4848
     49    virtual ~WebTextCheckingCompletionImpl() { }
     50
    4951    virtual void didFinishCheckingText(const WebVector<WebTextCheckingResult>&);
    5052
Note: See TracChangeset for help on using the changeset viewer.