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

Unified Diff: cc/layers/heads_up_display_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/heads_up_display_layer.h
diff --git a/cc/layers/heads_up_display_layer.h b/cc/layers/heads_up_display_layer.h
index 23b3407a252fbf3c291d50dc400679278a044e17..5d416c26866844fe349c60003a6a5b918e2ef188 100644
--- a/cc/layers/heads_up_display_layer.h
+++ b/cc/layers/heads_up_display_layer.h
@@ -21,8 +21,7 @@ class LayerNode;
class CC_EXPORT HeadsUpDisplayLayer : public Layer {
public:
- static scoped_refptr<HeadsUpDisplayLayer> Create(
- const LayerSettings& settings);
+ static scoped_refptr<HeadsUpDisplayLayer> Create();
void PrepareForCalculateDrawProperties(
const gfx::Size& device_viewport, float device_scale_factor);
@@ -35,7 +34,7 @@ class CC_EXPORT HeadsUpDisplayLayer : public Layer {
void PushPropertiesTo(LayerImpl* layer) override;
protected:
- explicit HeadsUpDisplayLayer(const LayerSettings& settings);
+ HeadsUpDisplayLayer();
bool HasDrawableContent() const override;
private:

Powered by Google App Engine
This is Rietveld 408576698