Chromium Code Reviews| 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..7b99dd58ea46a234094fb542572c41894b66d297 100644 |
| --- a/cc/test/fake_picture_layer_impl.h |
| +++ b/cc/test/fake_picture_layer_impl.h |
| @@ -112,6 +112,13 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
| void ResetAllTilesPriorities(); |
| PictureLayerTilingSet* GetTilings() { return tilings_.get(); } |
| + size_t lost_output_surface_count() const { |
|
danakj
2014/09/10 16:03:31
nit: release_resources_count?
sohanjg
2014/09/11 06:07:57
Done.
should we change in fakecontentlayerimpl too
|
| + return lost_output_surface_count_; |
| + } |
| + void reset_lost_output_surface_count() { lost_output_surface_count_ = 0; } |
| + |
| + virtual void ReleaseResources() OVERRIDE; |
| + |
| protected: |
| FakePictureLayerImpl( |
| LayerTreeImpl* tree_impl, |
| @@ -130,6 +137,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 lost_output_surface_count_; |
| }; |
| } // namespace cc |