diff options
author | hendrikw <hendrikw@chromium.org> | 2015-01-26 16:59:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-27 01:00:24 +0000 |
commit | 751c4ac09673e018b7e9cb92b95fe4304d66c6f7 (patch) | |
tree | 33fd9bd49ba5431033375d3b032bff72c9cb6d7f /cc/test/fake_picture_pile.h | |
parent | 09c4610490c2efb0e14a96a12250625bcca94dd6 (diff) | |
download | chromium_src-751c4ac09673e018b7e9cb92b95fe4304d66c6f7.zip chromium_src-751c4ac09673e018b7e9cb92b95fe4304d66c6f7.tar.gz chromium_src-751c4ac09673e018b7e9cb92b95fe4304d66c6f7.tar.bz2 |
cc: Remove tile and scale specific code from raster source
Fix a TODO I added a while back. Instead of calling SetMinContentsScale
and SetTileGridSize directly, pass these as parameters to constructor of the
PicturePile.
Committed: https://crrev.com/6d1f2981f3204852a9189d0b6e7ad0b18659d68d
Cr-Commit-Position: refs/heads/master@{#309867}
Review URL: https://codereview.chromium.org/811953005
Cr-Commit-Position: refs/heads/master@{#313183}
Diffstat (limited to 'cc/test/fake_picture_pile.h')
-rw-r--r-- | cc/test/fake_picture_pile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/test/fake_picture_pile.h b/cc/test/fake_picture_pile.h index 4a7b65b..55b4c36 100644 --- a/cc/test/fake_picture_pile.h +++ b/cc/test/fake_picture_pile.h @@ -19,7 +19,9 @@ class FakePicturePile : public PicturePile { using PictureMapKey = PicturePile::PictureMapKey; using PictureMap = PicturePile::PictureMap; - FakePicturePile() : playback_allowed_event_(nullptr) {} + FakePicturePile(float min_contents_scale, const gfx::Size& tile_grid_size) + : PicturePile(min_contents_scale, tile_grid_size), + playback_allowed_event_(nullptr) {} ~FakePicturePile() override {} // PicturePile overrides. |