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

Unified Diff: cc/test/fake_content_layer.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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 | « cc/layers/video_layer.cc ('k') | cc/test/fake_content_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_content_layer.h
diff --git a/cc/test/fake_content_layer.h b/cc/test/fake_content_layer.h
index fd0968319df2093af5de08fda7a9ac96cfb26c00..1fe156f884ecfb59d0bdbe859807edd1dba3a47b 100644
--- a/cc/test/fake_content_layer.h
+++ b/cc/test/fake_content_layer.h
@@ -12,8 +12,9 @@ namespace cc {
class FakeContentLayer : public ContentLayer {
public:
- static scoped_refptr<FakeContentLayer> Create(ContentLayerClient* client) {
- return make_scoped_refptr(new FakeContentLayer(client));
+ static scoped_refptr<FakeContentLayer> Create(const LayerSettings& settings,
+ ContentLayerClient* client) {
+ return make_scoped_refptr(new FakeContentLayer(settings, client));
}
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;
@@ -43,7 +44,8 @@ class FakeContentLayer : public ContentLayer {
bool HaveBackingAt(int i, int j);
private:
- explicit FakeContentLayer(ContentLayerClient* client);
+ explicit FakeContentLayer(const LayerSettings& settings,
+ ContentLayerClient* client);
~FakeContentLayer() override;
size_t update_count_;
« no previous file with comments | « cc/layers/video_layer.cc ('k') | cc/test/fake_content_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698