Index: cc/layer_tree_impl.h |
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h |
index d212aac57569abf37130f2ddec859f63613aa0f7..31d5a67e8a9d27010ff93592585ae390221ad5e4 100644 |
--- a/cc/layer_tree_impl.h |
+++ b/cc/layer_tree_impl.h |
@@ -112,8 +112,14 @@ class CC_EXPORT LayerTreeImpl { |
has_transparent_background_ = transparent; |
} |
+ enum UpdateDrawPropertiesReason { |
+ UPDATE_PENDING_TREE, |
+ UPDATE_ACTIVE_TREE, |
+ UPDATE_ACTIVE_TREE_FOR_DRAW |
+ }; |
+ |
// Updates draw properties and render surface layer list |
- void UpdateDrawProperties(); |
+ void UpdateDrawProperties(UpdateDrawPropertiesReason reason); |
void set_needs_update_draw_properties() { |
needs_update_draw_properties_ = true; |
} |