diff options
Diffstat (limited to 'cc/test/fake_picture_layer_impl.h')
-rw-r--r-- | cc/test/fake_picture_layer_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h index 115fe55..ca29b9b 100644 --- a/cc/test/fake_picture_layer_impl.h +++ b/cc/test/fake_picture_layer_impl.h @@ -83,6 +83,10 @@ class FakePictureLayerImpl : public PictureLayerImpl { using PictureLayerImpl::UpdateIdealScales; using PictureLayerImpl::MaximumTilingContentsScale; + void AddTilingUntilNextDraw(float scale) { + last_append_quads_tilings_.push_back(AddTiling(scale)); + } + float raster_page_scale() const { return raster_page_scale_; } void set_raster_page_scale(float scale) { raster_page_scale_ = scale; } |