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

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: fixes Created 7 years, 11 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
Index: cc/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 2e287c81e09cb2ae32651eda7afe94d0959ab9d3..dff520fafe7df355cf3825104e26f6a07c425156 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() { };
jamesr 2013/01/28 19:20:43 no ;
Paweł Hajdan Jr. 2013/01/30 10:00:28 Done.
};
// 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;

Powered by Google App Engine
This is Rietveld 408576698