Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3892)

Unified Diff: cc/layer_tree_host_impl.h

Issue 12086018: GTTF: Add missing virtual destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 4 Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/picture_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/picture_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698