summaryrefslogtreecommitdiffstats
path: root/cc/layers/texture_layer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layers/texture_layer.cc')
-rw-r--r--cc/layers/texture_layer.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/cc/layers/texture_layer.cc b/cc/layers/texture_layer.cc
index 85df0f2..a656955 100644
--- a/cc/layers/texture_layer.cc
+++ b/cc/layers/texture_layer.cc
@@ -20,15 +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),
- client_(client),
+TextureLayer::TextureLayer(TextureLayerClient* client)
+ : client_(client),
flipped_(true),
nearest_neighbor_(false),
uv_top_left_(0.f, 0.f),