| Index: cc/layers/render_surface_impl.h
|
| diff --git a/cc/layers/render_surface_impl.h b/cc/layers/render_surface_impl.h
|
| index 38e7467da089546fa02774a479ee6e07e4d4add6..8d3b9fb453fc996bb094b4a4fa62b0baf98201c9 100644
|
| --- a/cc/layers/render_surface_impl.h
|
| +++ b/cc/layers/render_surface_impl.h
|
| @@ -161,9 +161,11 @@ class CC_EXPORT RenderSurfaceImpl {
|
|
|
| bool HasCopyRequest() const;
|
|
|
| - void ResetPropertyChangedFlag() { surface_property_changed_ = false; }
|
| + void ResetPropertyChangedFlags();
|
| bool SurfacePropertyChanged() const;
|
| bool SurfacePropertyChangedOnlyFromDescendant() const;
|
| + bool AncestorPropertyChanged() const;
|
| + void NoteAncestorPropertyChanged();
|
|
|
| DamageTracker* damage_tracker() const { return damage_tracker_.get(); }
|
|
|
| @@ -225,6 +227,7 @@ class CC_EXPORT RenderSurfaceImpl {
|
| // Is used to calculate the content rect from property trees.
|
| gfx::Rect accumulated_content_rect_;
|
| bool surface_property_changed_ : 1;
|
| + bool ancestor_property_changed_ : 1;
|
|
|
| bool contributes_to_drawn_surface_ : 1;
|
|
|
|
|