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 fbaecf74951accda0b8b1e8eff21736e6059e561..a06805c08ee44af979db607b4c91dfb5ef645390 100644 |
--- a/cc/test/fake_picture_layer_impl.h |
+++ b/cc/test/fake_picture_layer_impl.h |
@@ -112,6 +112,11 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
void ResetAllTilesPriorities(); |
PictureLayerTilingSet* GetTilings() { return tilings_.get(); } |
+ size_t release_resources_count() const { return release_resources_count_; } |
+ void reset_release_resources_count() { release_resources_count_ = 0; } |
+ |
+ virtual void ReleaseResources() OVERRIDE; |
+ |
protected: |
FakePictureLayerImpl( |
LayerTreeImpl* tree_impl, |
@@ -130,6 +135,7 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
size_t did_become_active_call_count_; |
bool has_valid_tile_priorities_; |
bool use_set_valid_tile_priorities_flag_; |
+ size_t release_resources_count_; |
}; |
} // namespace cc |