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

Unified Diff: cc/layers/layer.h

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
« no previous file with comments | « cc/layers/io_surface_layer.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index c14f14dfd83ed99a71b8e5ff5bddc2ed88c0dc14..97023d05bd9955f53acf688e7dfc00910a91514b 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -55,7 +55,6 @@ class CopyOutputRequest;
class LayerAnimationEventObserver;
class LayerClient;
class LayerImpl;
-class LayerSettings;
class LayerTreeHost;
class LayerTreeHostCommon;
class LayerTreeImpl;
@@ -82,7 +81,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
INVALID_ID = -1,
};
- static scoped_refptr<Layer> Create(const LayerSettings& settings);
+ static scoped_refptr<Layer> Create();
int id() const { return layer_id_; }
@@ -534,8 +533,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
friend class LayerImpl;
friend class TreeSynchronizer;
virtual ~Layer();
-
- explicit Layer(const LayerSettings& settings);
+ Layer();
// These SetNeeds functions are in order of severity of update:
//
« no previous file with comments | « cc/layers/io_surface_layer.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698