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..ba9853b3ed490f626d880a1c6d2f97b1254f9c35 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; |
+ int CurrentDrawPropertiesCount() const { |
danakj
2014/05/05 19:25:41
calculate_draw_properties_count() since it's an in
enne (OOO)
2014/05/05 20:13:34
(This is optional style and is totally ok as-is.)
vmpstr
2014/05/05 20:50:34
Done.
|
+ 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_; |
+ int calculate_draw_properties_count_; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
}; |