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 1efb35c39fea0dc33cd1167874a7036ab5713f87..5bcbaa9f044ef142dbbd4e371e5718388256a2fe 100644 |
--- a/cc/test/fake_picture_layer_impl.h |
+++ b/cc/test/fake_picture_layer_impl.h |
@@ -110,6 +110,13 @@ class FakePictureLayerImpl : public PictureLayerImpl { |
void ResetAllTilesPriorities(); |
PictureLayerTilingSet* GetTilings() { return tilings_.get(); } |
+ size_t lost_output_surface_count() const { |
+ 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, |
@@ -128,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 lost_output_surface_count_; |
}; |
} // namespace cc |