| Index: cc/layers/picture_layer_impl.h
|
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
|
| index 1ac106a7c1bce10fe0bddfbc3b5c46d1ae6a1684..90640ff1c24fbcf3d64827169f7b6ecb9bec89e2 100644
|
| --- a/cc/layers/picture_layer_impl.h
|
| +++ b/cc/layers/picture_layer_impl.h
|
| @@ -144,7 +144,7 @@ class CC_EXPORT PictureLayerImpl
|
| void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) override;
|
|
|
| // Functions used by tile manager.
|
| - PictureLayerImpl* GetTwinLayer() { return twin_layer_; }
|
| + PictureLayerImpl* GetPendingOrActiveTwinLayer() const;
|
| bool IsOnActiveOrPendingTree() const;
|
| // Virtual for testing.
|
| virtual bool HasValidTilePriorities() const;
|
| @@ -168,7 +168,7 @@ class CC_EXPORT PictureLayerImpl
|
| float SnappedContentsScale(float new_contents_scale);
|
| void ResetRasterScale();
|
| gfx::Rect GetViewportForTilePriorityInContentSpace() const;
|
| - PictureLayerImpl* GetRecycledTwinLayer();
|
| + PictureLayerImpl* GetRecycledTwinLayer() const;
|
|
|
| void DoPostCommitInitializationIfNeeded() {
|
| if (needs_post_commit_initialization_)
|
|
|