Index: cc/layer_tree_host_impl.h |
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h |
index 53927f03c397b2d1d8b8c2d41fd91a620cddc291..ae4f21a63cd4ec33721dc99a6b9cd30a844f0524 100644 |
--- a/cc/layer_tree_host_impl.h |
+++ b/cc/layer_tree_host_impl.h |
@@ -60,6 +60,9 @@ public: |
virtual void sendManagedMemoryStats() = 0; |
virtual bool isInsideDraw() = 0; |
virtual void renewTreePriority() = 0; |
+ |
+protected: |
+ virtual ~LayerTreeHostImplClient() { } |
}; |
// LayerTreeHostImpl owns the LayerImpl tree as well as associated rendering state |
@@ -93,7 +96,7 @@ public: |
struct CC_EXPORT FrameData : public RenderPassSink { |
FrameData(); |
- ~FrameData(); |
+ virtual ~FrameData(); |
std::vector<gfx::Rect> occludingScreenSpaceRects; |
std::vector<gfx::Rect> nonOccludingScreenSpaceRects; |