| Index: cc/layers/picture_layer_impl.h
|
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
|
| index 11634452d4aeda5025da12f4399a176803c8a1dc..5ae03f7174f0ff108fc07aab19f9b7cc1fb7b204 100644
|
| --- a/cc/layers/picture_layer_impl.h
|
| +++ b/cc/layers/picture_layer_impl.h
|
| @@ -38,10 +38,13 @@ class CC_EXPORT PictureLayerImpl
|
| PictureLayerImpl* pending;
|
| };
|
|
|
| - static scoped_ptr<PictureLayerImpl> Create(LayerTreeImpl* tree_impl,
|
| - int id,
|
| - bool is_mask) {
|
| - return make_scoped_ptr(new PictureLayerImpl(tree_impl, id, is_mask));
|
| + static scoped_ptr<PictureLayerImpl> Create(
|
| + LayerTreeImpl* tree_impl,
|
| + int id,
|
| + bool is_mask,
|
| + scoped_refptr<SyncedScrollOffset> scroll_offset) {
|
| + return make_scoped_ptr(
|
| + new PictureLayerImpl(tree_impl, id, is_mask, scroll_offset));
|
| }
|
| ~PictureLayerImpl() override;
|
|
|
| @@ -106,7 +109,10 @@ class CC_EXPORT PictureLayerImpl
|
| friend class LayerRasterTileIterator;
|
| using TileRequirementCheck = bool (PictureLayerTiling::*)(const Tile*) const;
|
|
|
| - PictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask);
|
| + PictureLayerImpl(LayerTreeImpl* tree_impl,
|
| + int id,
|
| + bool is_mask,
|
| + scoped_refptr<SyncedScrollOffset> scroll_offset);
|
| PictureLayerTiling* AddTiling(float contents_scale);
|
| void RemoveAllTilings();
|
| void AddTilingsForRasterScale();
|
|
|