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

Unified Diff: cc/layers/texture_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/texture_layer.cc
diff --git a/cc/layers/texture_layer.cc b/cc/layers/texture_layer.cc
index 85df0f2b51c1651c19407d6f756fdbdccba11eb3..19c51ef8fa13a760ab6ed08b903607afc6b6cc66 100644
--- a/cc/layers/texture_layer.cc
+++ b/cc/layers/texture_layer.cc
@@ -20,14 +20,12 @@
namespace cc {
scoped_refptr<TextureLayer> TextureLayer::CreateForMailbox(
- const LayerSettings& settings,
TextureLayerClient* client) {
- return scoped_refptr<TextureLayer>(new TextureLayer(settings, client));
+ return scoped_refptr<TextureLayer>(new TextureLayer(client));
}
-TextureLayer::TextureLayer(const LayerSettings& settings,
- TextureLayerClient* client)
- : Layer(settings),
+TextureLayer::TextureLayer(TextureLayerClient* client)
+ : Layer(),
client_(client),
flipped_(true),
nearest_neighbor_(false),

Powered by Google App Engine
This is Rietveld 408576698