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

Unified Diff: ui/android/overscroll_glow.cc

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 | « ui/android/edge_effect_l.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/overscroll_glow.cc
diff --git a/ui/android/overscroll_glow.cc b/ui/android/overscroll_glow.cc
index be3b924207141221b40b8e2c2279aea5a40f4a04..7f3c43da3068c44a15e0fbb1e8a8f816619d8d16 100644
--- a/ui/android/overscroll_glow.cc
+++ b/ui/android/overscroll_glow.cc
@@ -7,7 +7,6 @@
#include <stddef.h>
#include "cc/layers/layer.h"
-#include "cc/layers/layer_settings.h"
#include "ui/android/edge_effect_base.h"
#include "ui/android/window_android_compositor.h"
@@ -195,7 +194,7 @@ bool OverscrollGlow::InitializeIfNecessary() {
return true;
DCHECK(!root_layer_.get());
- root_layer_ = cc::Layer::Create(cc::LayerSettings());
+ root_layer_ = cc::Layer::Create();
for (size_t i = 0; i < EDGE_COUNT; ++i) {
edge_effects_[i] = client_->CreateEdgeEffect();
DCHECK(edge_effects_[i]);
« no previous file with comments | « ui/android/edge_effect_l.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698