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); |