Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index ff912a4b9bb0d17d0a9e38c681cbbfdf9b3eedd4..3b95750728f76963ad361586d41fc30fe07ed8a8 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -243,6 +243,10 @@ class CC_EXPORT LayerTreeImpl { |
void RemoveLayerWithCopyOutputRequest(LayerImpl* layer); |
const std::vector<LayerImpl*>& LayersWithCopyOutputRequest() const; |
+ size_t CalculateDrawPropertiesCount() const { |
+ return calculate_draw_properties_count_; |
+ } |
+ |
protected: |
explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); |
@@ -296,6 +300,8 @@ class CC_EXPORT LayerTreeImpl { |
UIResourceRequestQueue ui_resource_request_queue_; |
+ size_t calculate_draw_properties_count_; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
}; |