Get rid of unnecessary vtables in WebKit by de-virtualizing destructors when possible and marking the class as final to make sure people don't subclass it.
Created attachment 240370 [details] Patch
Comment on attachment 240370 [details] Patch Clearing flags on attachment: 240370 Committed r175149: <http://trac.webkit.org/changeset/175149>
All reviewed patches have been landed. Closing bug.
Comment on attachment 240370 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=240370&action=review > Source/WebCore/css/WebKitCSSMatrix.h:39 > +class WebKitCSSMatrix final : public ScriptWrappable, public RefCounted<WebKitCSSMatrix> { We should probably give ScriptWrappable a protected destructor to make it safer.
(In reply to comment #4) > Comment on attachment 240370 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=240370&action=review > > > Source/WebCore/css/WebKitCSSMatrix.h:39 > > +class WebKitCSSMatrix final : public ScriptWrappable, public RefCounted<WebKitCSSMatrix> { > > We should probably give ScriptWrappable a protected destructor to make it > safer. Good idea, I'll follow-up on this.