| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index 760fcbd4468fe6f8eb5a910cfeaae57f10f26908..a64e04e16a81bdece430b2d816b52e0029319db0 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -519,6 +519,10 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| const gfx::Rect& clip_rect() const { return clip_rect_; }
|
| void set_clip_rect(const gfx::Rect& rect) { clip_rect_ = rect; }
|
|
|
| + // This should only be called during BeginMainFrame since it does not trigger
|
| + // a Commit. This is called right after property tree being built and should
|
| + // not trigger property tree rebuild.
|
| + void SetHasRenderSurface(bool has_render_surface);
|
| bool has_render_surface() const {
|
| return has_render_surface_;
|
| }
|
| @@ -667,10 +671,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
|
| void SetParent(Layer* layer);
|
| bool DescendantIsFixedToContainerLayer() const;
|
|
|
| - // This should only be called during BeginMainFrame since it does not
|
| - // trigger a Commit.
|
| - void SetHasRenderSurface(bool has_render_surface);
|
| -
|
| // This should only be called from RemoveFromParent().
|
| void RemoveChildOrDependent(Layer* child);
|
|
|
|
|