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 f101b0f3e2660f7de72d3726d20ff94f007ff420..5c8d2f35f9a78c9a52c817753a9eb4d0d0d37c14 100644 |
| --- a/cc/test/fake_picture_layer_impl.h |
| +++ b/cc/test/fake_picture_layer_impl.h |
| @@ -41,6 +41,11 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
| virtual gfx::Size CalculateTileSize( |
| const gfx::Size& content_bounds) const OVERRIDE; |
| + virtual void DidBecomeActive() OVERRIDE; |
| + size_t get_did_become_active_call_count() { |
|
danakj
2014/08/05 17:16:47
inline accessor methods should match the variable
vmpstr
2014/08/05 18:54:33
Done.
|
| + return did_become_active_call_count_; |
| + } |
| + |
| using PictureLayerImpl::AddTiling; |
| using PictureLayerImpl::CleanUpTilingsOnActiveLayer; |
| using PictureLayerImpl::CanHaveTilings; |
| @@ -110,6 +115,7 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
| gfx::Size fixed_tile_size_; |
| size_t append_quads_count_; |
| + size_t did_become_active_call_count_; |
| }; |
| } // namespace cc |