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

Unified Diff: cc/layers/layer.h

Issue 1217883002: Rebuild PropertyTrees When Layer Attach to New LayerTreeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2403
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') | no next file with comments »
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 9c7138e9fdc515040f908c1543a5fa11815813ec..2e4f172292fe456a17d2ab9b6fa2fb6b8145af97 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -674,6 +674,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698