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

Unified Diff: cc/layers/content_layer.h

Issue 373113003: Keeping track of descendants that draw content instead of recalcualting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/cc_tests.gyp ('k') | cc/layers/content_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/content_layer.h
diff --git a/cc/layers/content_layer.h b/cc/layers/content_layer.h
index 9bef22bb704728015360a4b3351ac7dfa5f2bc77..c440c6fa11c1350656e428fc4edf63cbb6c0166f 100644
--- a/cc/layers/content_layer.h
+++ b/cc/layers/content_layer.h
@@ -38,9 +38,8 @@ class CC_EXPORT ContentLayer : public TiledLayer {
public:
static scoped_refptr<ContentLayer> Create(ContentLayerClient* client);
- void ClearClient() { client_ = NULL; }
+ void ClearClient();
- virtual bool DrawsContent() const OVERRIDE;
virtual void SetLayerTreeHost(LayerTreeHost* layer_tree_host) OVERRIDE;
virtual void SetTexturePriorities(const PriorityCalculator& priority_calc)
OVERRIDE;
@@ -60,6 +59,8 @@ class CC_EXPORT ContentLayer : public TiledLayer {
explicit ContentLayer(ContentLayerClient* client);
virtual ~ContentLayer();
+ virtual bool HasDrawableContent() const OVERRIDE;
+
// TiledLayer implementation.
virtual LayerUpdater* Updater() const OVERRIDE;
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698