diff options
author | loyso <loyso@chromium.org> | 2016-03-13 18:30:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-14 01:32:31 +0000 |
commit | 0940d410fd6f1da81a07a963a8b485cee310918f (patch) | |
tree | 4d8d164bd8319181d8d3374c66e1338a5a9d963c /cc/layers/texture_layer.cc | |
parent | 90f8fccd97c06ddfd0c0e9b7350a4f7fffccfb36 (diff) | |
download | chromium_src-0940d410fd6f1da81a07a963a8b485cee310918f.zip chromium_src-0940d410fd6f1da81a07a963a8b485cee310918f.tar.gz chromium_src-0940d410fd6f1da81a07a963a8b485cee310918f.tar.bz2 |
CC Animation: Erase cc::LayerSettings everywhere.
Also, erase LayerTreeSettings::use_compositor_animation_timelines flag.
BUG=575041
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1783613004
Cr-Commit-Position: refs/heads/master@{#380914}
Diffstat (limited to 'cc/layers/texture_layer.cc')
-rw-r--r-- | cc/layers/texture_layer.cc | 9 |
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), |