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

Unified Diff: ui/android/edge_effect_l.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.cc ('k') | ui/android/overscroll_glow.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/edge_effect_l.cc
diff --git a/ui/android/edge_effect_l.cc b/ui/android/edge_effect_l.cc
index e182200f56cc83d077e71cc875a5db8e71a74e08..305ca4971de01ee520a47b355df979314a70b0fa 100644
--- a/ui/android/edge_effect_l.cc
+++ b/ui/android/edge_effect_l.cc
@@ -4,7 +4,6 @@
#include "ui/android/edge_effect_l.h"
-#include "cc/layers/layer_settings.h"
#include "cc/layers/ui_resource_layer.h"
#include "ui/android/animation_utils.h"
#include "ui/android/resources/resource_manager.h"
@@ -52,7 +51,7 @@ const ui::SystemUIResourceType kResourceId = ui::OVERSCROLL_GLOW_L;
EdgeEffectL::EdgeEffectL(ui::ResourceManager* resource_manager)
: resource_manager_(resource_manager),
- glow_(cc::UIResourceLayer::Create(cc::LayerSettings())),
+ glow_(cc::UIResourceLayer::Create()),
glow_alpha_(0),
glow_scale_y_(0),
glow_alpha_start_(0),
« no previous file with comments | « ui/android/edge_effect.cc ('k') | ui/android/overscroll_glow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698