Title: [141419] trunk/Source/WebKit2
Revision
141419
Author
[email protected]
Date
2013-01-31 06:59:29 -0800 (Thu, 31 Jan 2013)

Log Message

Unreviewed trivial build fix: Add missing virtual destructor to
LayerTreeRendererClient. Otherwise the build with -Werror breaks, which
complains (rightly so) that we're deleting a sub-class where the super class
doesn't have a virtual destructor.

* UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
(WebKit::LayerTreeRendererClient::~LayerTreeRendererClient):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (141418 => 141419)


--- trunk/Source/WebKit2/ChangeLog	2013-01-31 14:57:55 UTC (rev 141418)
+++ trunk/Source/WebKit2/ChangeLog	2013-01-31 14:59:29 UTC (rev 141419)
@@ -1,3 +1,13 @@
+2013-01-31  Simon Hausmann  <[email protected]>
+
+        Unreviewed trivial build fix: Add missing virtual destructor to
+        LayerTreeRendererClient. Otherwise the build with -Werror breaks, which
+        complains (rightly so) that we're deleting a sub-class where the super class
+        doesn't have a virtual destructor.
+
+        * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
+        (WebKit::LayerTreeRendererClient::~LayerTreeRendererClient):
+
 2013-01-31  Seulgi Kim  <[email protected]>
 
         Coordinated Graphics: view the debug border/repaint count of the non composited layer.

Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h (141418 => 141419)


--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h	2013-01-31 14:57:55 UTC (rev 141418)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeRenderer.h	2013-01-31 14:59:29 UTC (rev 141419)
@@ -52,6 +52,7 @@
 
 class LayerTreeRendererClient {
 public:
+    virtual ~LayerTreeRendererClient() { }
 #if ENABLE(REQUEST_ANIMATION_FRAME)
     virtual void animationFrameReady() = 0;
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to