Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 4681fc1243b8cd8671539464d9c1ba2d3a81bce8..3182946bfc168172a0aceffe04e14a8156b7e7aa 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -121,12 +121,6 @@ class CC_EXPORT LayerTreeImpl { |
has_transparent_background_ = transparent; |
} |
- enum UpdateDrawPropertiesReason { |
- UPDATE_PENDING_TREE, |
- UPDATE_ACTIVE_TREE, |
- UPDATE_ACTIVE_TREE_FOR_DRAW |
- }; |
- |
void SetPageScaleFactorAndLimits(float page_scale_factor, |
float min_page_scale_factor, float max_page_scale_factor); |
void SetPageScaleDelta(float delta); |
@@ -142,8 +136,10 @@ class CC_EXPORT LayerTreeImpl { |
} |
float sent_page_scale_delta() const { return sent_page_scale_delta_; } |
- // Updates draw properties and render surface layer list |
- void UpdateDrawProperties(UpdateDrawPropertiesReason reason); |
+ // Updates draw properties and render surface layer list, as well as tile |
+ // priorities. |
+ void UpdateDrawProperties(); |
+ |
void set_needs_update_draw_properties() { |
needs_update_draw_properties_ = true; |
} |