summaryrefslogtreecommitdiffstats
path: root/cc/layers/content_layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/content_layer.h')
-rw-r--r--cc/layers/content_layer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cc/layers/content_layer.h b/cc/layers/content_layer.h
index 9bef22b..c440c6f 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;