Title: [135126] trunk/Source/WebKit2
Revision
135126
Author
kbal...@webkit.org
Date
2012-11-19 01:32:15 -0800 (Mon, 19 Nov 2012)

Log Message

Unreviewed buildfix.

Fix -Wdelete-non-virtual-destructor error with gcc 4.7 after r135056.

* Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.h:
(WebCustomFilterProgramProxy): This is a polymorphic derived class
so the destructor should be virtual.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (135125 => 135126)


--- trunk/Source/WebKit2/ChangeLog	2012-11-19 09:19:02 UTC (rev 135125)
+++ trunk/Source/WebKit2/ChangeLog	2012-11-19 09:32:15 UTC (rev 135126)
@@ -1,3 +1,13 @@
+2012-11-19  Balazs Kelemen  <kbal...@webkit.org>
+
+        Unreviewed buildfix.
+
+        Fix -Wdelete-non-virtual-destructor error with gcc 4.7 after r135056.
+
+        * Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.h:
+        (WebCustomFilterProgramProxy): This is a polymorphic derived class
+        so the destructor should be virtual.
+
 2012-11-19  Christophe Dumez  <christophe.du...@intel.com>
 
         [CG][WK2] Assertion in CoordinatedGraphicsLayer::setContentsToImage(WebCore::Image*)

Modified: trunk/Source/WebKit2/Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.h (135125 => 135126)


--- trunk/Source/WebKit2/Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.h	2012-11-19 09:19:02 UTC (rev 135125)
+++ trunk/Source/WebKit2/Shared/CoordinatedGraphics/WebCustomFilterProgramProxy.h	2012-11-19 09:32:15 UTC (rev 135126)
@@ -67,7 +67,7 @@
     virtual void refFromValidatedProgram() { ref(); }
     virtual void derefFromValidatedProgram() { deref(); }
 
-    ~WebCustomFilterProgramProxy();
+    virtual ~WebCustomFilterProgramProxy();
     
     void setClient(WebCustomFilterProgramProxyClient* client) { m_client = client; }
     WebCustomFilterProgramProxyClient* client() const { return m_client; }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to