Index: cc/layer_impl.h |
diff --git a/cc/layer_impl.h b/cc/layer_impl.h |
index addcced489fdf0cebd6718dc5acc9243e1ae2898..cb90958e117cb373f27bf4e197008d5aee48fbf1 100644 |
--- a/cc/layer_impl.h |
+++ b/cc/layer_impl.h |
@@ -163,6 +163,9 @@ public: |
bool showDebugBorders() const; |
+ // These invalidate the host's render surface layer list. The caller |
+ // is responsible for calling setNeedsUpdateDrawProperties on the host |
+ // so that its list can be recreated. |
void createRenderSurface(); |
void clearRenderSurface() { m_drawProperties.render_surface.reset(); } |
@@ -298,6 +301,8 @@ private: |
friend class TreeSynchronizer; |
void clearChildList(); // Warning: This does not preserve tree structure invariants and so is only exposed to the tree synchronizer. |
+ void noteLayerSurfacePropertyChanged(); |
+ void noteLayerPropertyChanged(); |
void noteLayerPropertyChangedForSubtree(); |
// Note carefully this does not affect the current layer. |