Index: cc/test/fake_picture_layer.h |
diff --git a/cc/test/fake_picture_layer.h b/cc/test/fake_picture_layer.h |
index 99217c2994d2c8fd325732380266c9bec3135d65..10f9a9c64b6fa2e196aa18d3072c3898eea667f0 100644 |
--- a/cc/test/fake_picture_layer.h |
+++ b/cc/test/fake_picture_layer.h |
@@ -35,6 +35,11 @@ class FakePictureLayer : public PictureLayer { |
virtual void PushPropertiesTo(LayerImpl* layer) OVERRIDE; |
+ virtual void OnOutputSurfaceCreated() OVERRIDE; |
+ size_t output_surface_created_count() const { |
+ return output_surface_created_count_; |
+ } |
+ |
private: |
explicit FakePictureLayer(ContentLayerClient* client); |
virtual ~FakePictureLayer(); |
@@ -42,6 +47,7 @@ class FakePictureLayer : public PictureLayer { |
size_t update_count_; |
size_t push_properties_count_; |
bool always_update_resources_; |
+ size_t output_surface_created_count_; |
}; |
} // namespace cc |