Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3265)

Unified Diff: cc/trees/layer_tree_impl.h

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698