Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 54c86604d3435edd63f9d5343787185d09307400..5935d29e77cac830e0d1d8269922be242ab4343d 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -87,6 +87,7 @@ class CC_EXPORT LayerTreeImpl { |
bool IsActiveTree() const; |
bool IsPendingTree() const; |
bool IsRecycleTree() const; |
+ bool IsSyncTree() const; |
LayerImpl* FindActiveTreeLayerById(int id); |
LayerImpl* FindPendingTreeLayerById(int id); |
bool PinchGestureActive() const; |
@@ -197,8 +198,9 @@ class CC_EXPORT LayerTreeImpl { |
} |
// Updates draw properties and render surface layer list, as well as tile |
- // priorities. Returns false if it was unable to update. |
- bool UpdateDrawProperties(); |
+ // priorities. Returns false if it was unable to update. Updating lcd |
+ // text may cause invalidations, so should only be done after a commit. |
+ bool UpdateDrawProperties(bool update_lcd_text); |
void set_needs_update_draw_properties() { |
needs_update_draw_properties_ = true; |