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

Unified Diff: cc/layers/solid_color_layer.cc

Issue 1783613004: CC Animation: Erase cc::LayerSettings everywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@eraseandroid
Patch Set: Rebase. Created 4 years, 9 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
Index: cc/layers/solid_color_layer.cc
diff --git a/cc/layers/solid_color_layer.cc b/cc/layers/solid_color_layer.cc
index 2fbaca167ffe4c5bc371f108c0da1a624d1512c7..5266d58b9709c1aa89e6c1c08fb3972d5ba04d5b 100644
--- a/cc/layers/solid_color_layer.cc
+++ b/cc/layers/solid_color_layer.cc
@@ -13,14 +13,11 @@ scoped_ptr<LayerImpl> SolidColorLayer::CreateLayerImpl(
return SolidColorLayerImpl::Create(tree_impl, id());
}
-scoped_refptr<SolidColorLayer> SolidColorLayer::Create(
- const LayerSettings& settings) {
- return make_scoped_refptr(new SolidColorLayer(settings));
+scoped_refptr<SolidColorLayer> SolidColorLayer::Create() {
+ return make_scoped_refptr(new SolidColorLayer());
}
-SolidColorLayer::SolidColorLayer(const LayerSettings& settings)
- : Layer(settings) {
-}
+SolidColorLayer::SolidColorLayer() : Layer() {}
SolidColorLayer::~SolidColorLayer() {}

Powered by Google App Engine
This is Rietveld 408576698