Bug 133908

Summary: Some classes with virtual methods are missing virtual destructors
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED INVALID    
Severity: Normal CC: berto, cgarcia, cmarcelo, commit-queue, eric.carlson, glenn, gustavo, hta, jer.noble, kondapallykalyan, luiz, mrobinson, noam, philipj, sergio, simon.fraser, tommyw
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review-

Description Zan Dobersek 2014-06-14 12:17:54 PDT
Some classes with virtual methods are missing virtual destructors
Comment 1 Zan Dobersek 2014-06-14 12:25:40 PDT
Created attachment 233115 [details]
Patch
Comment 2 WebKit Commit Bot 2014-06-14 12:26:38 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Anders Carlsson 2014-06-14 17:35:58 PDT
Comment on attachment 233115 [details]
Patch

I don't think this warning is useful. Nobody deletes a TextureMapperPlatformLayer::Client for example, so this just creates extra vtable entries for no good reason.
Comment 4 Zan Dobersek 2014-07-29 14:41:53 PDT
-Wdelete-non-virtual-dtor only warns about cases where such classes are actually deleted.

There are no such warnings occurring with the current code, so there's nothing to do here.