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

Unified Diff: cc/layers/painted_scrollbar_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/painted_scrollbar_layer.cc
diff --git a/cc/layers/painted_scrollbar_layer.cc b/cc/layers/painted_scrollbar_layer.cc
index 8815abb999556aa7136ae2d725435716fe2d7286..6fcffb551c99f9e6c6e430e30b429c45af380e55 100644
--- a/cc/layers/painted_scrollbar_layer.cc
+++ b/cc/layers/painted_scrollbar_layer.cc
@@ -31,17 +31,15 @@ scoped_ptr<LayerImpl> PaintedScrollbarLayer::CreateLayerImpl(
}
scoped_refptr<PaintedScrollbarLayer> PaintedScrollbarLayer::Create(
- const LayerSettings& settings,
scoped_ptr<Scrollbar> scrollbar,
int scroll_layer_id) {
- return make_scoped_refptr(new PaintedScrollbarLayer(
- settings, std::move(scrollbar), scroll_layer_id));
+ return make_scoped_refptr(
+ new PaintedScrollbarLayer(std::move(scrollbar), scroll_layer_id));
}
-PaintedScrollbarLayer::PaintedScrollbarLayer(const LayerSettings& settings,
- scoped_ptr<Scrollbar> scrollbar,
+PaintedScrollbarLayer::PaintedScrollbarLayer(scoped_ptr<Scrollbar> scrollbar,
int scroll_layer_id)
- : Layer(settings),
+ : Layer(),
scrollbar_(std::move(scrollbar)),
scroll_layer_id_(scroll_layer_id),
internal_contents_scale_(1.f),

Powered by Google App Engine
This is Rietveld 408576698