Index: cc/trees/layer_tree.h |
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h |
index 9f749bfe0770d6c3537f1d87033cce08f44f00df..91e0cdd789fee3866d2ad46f63b5f4bb56bdbf34 100644 |
--- a/cc/trees/layer_tree.h |
+++ b/cc/trees/layer_tree.h |
@@ -141,6 +141,8 @@ class CC_EXPORT LayerTree : public MutatorHostClient { |
void UnregisterLayer(Layer* layer); |
Layer* LayerById(int id) const; |
+ size_t NumLayers() const; |
+ |
bool UpdateLayers(const LayerList& update_layer_list, |
bool* content_is_suitable_for_gpu); |
bool in_paint_layer_contents() const { return in_paint_layer_contents_; } |