| Index: cc/resources/picture_pile.h
|
| diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h
|
| index 0a67c09bfc051d4f6ea22aa2a7278022672cd6f0..1e3368c0a72ff3f98055e26cd1e92cd8206d6915 100644
|
| --- a/cc/resources/picture_pile.h
|
| +++ b/cc/resources/picture_pile.h
|
| @@ -19,7 +19,7 @@ class PicturePileImpl;
|
|
|
| class CC_EXPORT PicturePile : public RecordingSource {
|
| public:
|
| - PicturePile();
|
| + PicturePile(float min_contents_scale, const gfx::Size& tile_grid_size);
|
| ~PicturePile() override;
|
|
|
| // RecordingSource overrides.
|
| @@ -34,10 +34,8 @@ class CC_EXPORT PicturePile : public RecordingSource {
|
| scoped_refptr<RasterSource> CreateRasterSource() const override;
|
| gfx::Size GetSize() const final;
|
| void SetEmptyBounds() override;
|
| - void SetMinContentsScale(float min_contents_scale) override;
|
| void SetSlowdownRasterScaleFactor(int factor) override;
|
| bool IsSuitableForGpuRasterization() const override;
|
| - void SetTileGridSize(const gfx::Size& tile_grid_size) override;
|
| void SetUnsuitableForGpuRasterizationForTesting() override;
|
| gfx::Size GetTileGridSizeForTesting() const override;
|
|
|
| @@ -76,6 +74,9 @@ class CC_EXPORT PicturePile : public RecordingSource {
|
|
|
| void Clear();
|
|
|
| + void SetMinContentsScale(float min_contents_scale);
|
| + void SetTileGridSize(const gfx::Size& tile_grid_size);
|
| +
|
| gfx::Rect PaddedRect(const PictureMapKey& key) const;
|
| gfx::Rect PadRect(const gfx::Rect& rect) const;
|
|
|
|
|