Index: cc/test/fake_picture_layer_impl.h |
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h |
index 115fe553b461fb8017bbe4ed30a2b0bb344b8568..ca29b9bef79d730a5f34e4bfbb534b5e285c4992 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; } |