Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: cc/test/fake_picture_layer.h

Issue 591473003: (Reland) cc:Use impl-side painting in LTH context lost test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment addressed. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/test/fake_picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | cc/test/fake_picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698