| Index: cc/layers/picture_layer_impl.h
|
| diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
|
| index 52d8433c93ca94c4edc5b2611dbad50b2093e5a0..3fdc2e65fb21a43dd9bb175bb59684318416765f 100644
|
| --- a/cc/layers/picture_layer_impl.h
|
| +++ b/cc/layers/picture_layer_impl.h
|
| @@ -113,7 +113,6 @@ class CC_EXPORT PictureLayerImpl
|
| // Mask-related functions.
|
| void GetContentsResourceId(ResourceProvider::ResourceId* resource_id,
|
| gfx::Size* resource_size) const override;
|
| - void set_is_mask(bool is_mask) { is_mask_ = is_mask; }
|
|
|
| size_t GPUMemoryUsageInBytes() const override;
|
|
|
| @@ -139,7 +138,6 @@ class CC_EXPORT PictureLayerImpl
|
| PictureLayerImpl(LayerTreeImpl* tree_impl, int id);
|
| PictureLayerTiling* AddTiling(float contents_scale);
|
| void RemoveAllTilings();
|
| - void SyncFromActiveLayer(const PictureLayerImpl* other);
|
| void AddTilingsForRasterScale();
|
| void UpdateTilePriorities(const Occlusion& occlusion_in_content_space);
|
| virtual bool ShouldAdjustRasterScale() const;
|
| @@ -150,7 +148,12 @@ class CC_EXPORT PictureLayerImpl
|
| void ResetRasterScale();
|
| gfx::Rect GetViewportForTilePriorityInContentSpace() const;
|
| PictureLayerImpl* GetRecycledTwinLayer() const;
|
| - void UpdateRasterSource(scoped_refptr<RasterSource> raster_source);
|
| + // TODO(danakj): Make |is_mask| a constructor parameter (for PictureLayer too)
|
| + // and immutable.
|
| + void UpdateRasterSource(scoped_refptr<RasterSource> raster_source,
|
| + Region* new_invalidation,
|
| + bool is_mask,
|
| + const PictureLayerTilingSet* pending_set);
|
|
|
| void DoPostCommitInitializationIfNeeded() {
|
| if (needs_post_commit_initialization_)
|
|
|