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

Unified Diff: cc/layers/layer.h

Issue 1166233002: Rebuild PropertyTrees When Layer Attach to New LayerTreeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@implon
Patch Set: Created 5 years, 6 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 | « no previous file | cc/layers/layer.cc » ('j') | cc/layers/layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 84e9c0f8ba69c65fa70ce676ed5cc1f6e61e0ae7..756217ddbd55cd0fe0a85df2304369f27f345996 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -696,6 +696,10 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
// children.
void RemoveFromClipTree();
+ // When we detach or attach layer to new LayerTreeHost, all property trees'
+ // indices becomes invalid.
+ void InvalidatePropertyTreesIndices();
+
void UpdateNumCopyRequestsForSubtree(bool add);
void UpdateNumInputHandlersForSubtree(bool add);
« no previous file with comments | « no previous file | cc/layers/layer.cc » ('j') | cc/layers/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698