| 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 a0e16e8345671277ad0f698daf5f6d4a15ab38c7..9683fc60e61d928d8e3cbc4f88817ec253f366c5 100644
|
| --- a/cc/test/fake_picture_layer_impl.h
|
| +++ b/cc/test/fake_picture_layer_impl.h
|
| @@ -121,6 +121,12 @@ class FakePictureLayerImpl : public PictureLayerImpl {
|
| void ResetAllTilesPriorities();
|
| PictureLayerTilingSet* GetTilings() { return tilings_.get(); }
|
|
|
| + // Add the given tiling as a "used" tiling during AppendQuads. This ensures
|
| + // that future calls to UpdateTiles don't delete the tiling.
|
| + void AddUsedTiling(PictureLayerTiling* tiling) {
|
| + last_append_quads_tilings_.push_back(tiling);
|
| + }
|
| +
|
| size_t release_resources_count() const { return release_resources_count_; }
|
| void reset_release_resources_count() { release_resources_count_ = 0; }
|
|
|
|
|