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

Unified Diff: cc/layers/nine_patch_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
Index: cc/layers/nine_patch_layer.h
diff --git a/cc/layers/nine_patch_layer.h b/cc/layers/nine_patch_layer.h
index a2c37e10cac7d84021cc0fc18a82d9d3a8d65479..20b5e4934149f3fffc1343ca15626e49cf75c6bd 100644
--- a/cc/layers/nine_patch_layer.h
+++ b/cc/layers/nine_patch_layer.h
@@ -20,7 +20,7 @@ class ScopedUIResource;
class CC_EXPORT NinePatchLayer : public UIResourceLayer {
public:
- static scoped_refptr<NinePatchLayer> Create(const LayerSettings& settings);
+ static scoped_refptr<NinePatchLayer> Create();
void PushPropertiesTo(LayerImpl* layer) override;
@@ -42,7 +42,7 @@ class CC_EXPORT NinePatchLayer : public UIResourceLayer {
void SetNearestNeighbor(bool nearest_neighbor);
private:
- explicit NinePatchLayer(const LayerSettings& settings);
+ NinePatchLayer();
~NinePatchLayer() override;
scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) override;

Powered by Google App Engine
This is Rietveld 408576698