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

Unified Diff: ui/android/edge_effect_l.cc

Issue 1747783002: CC Animation: Erase old animation system in Android Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 3a19775d27a54e0953662387c10a9417417d8298..e182200f56cc83d077e71cc875a5db8e71a74e08 100644
--- a/ui/android/edge_effect_l.cc
+++ b/ui/android/edge_effect_l.cc
@@ -4,6 +4,7 @@
#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"
@@ -51,8 +52,7 @@ const ui::SystemUIResourceType kResourceId = ui::OVERSCROLL_GLOW_L;
EdgeEffectL::EdgeEffectL(ui::ResourceManager* resource_manager)
: resource_manager_(resource_manager),
- glow_(cc::UIResourceLayer::Create(
- WindowAndroidCompositor::LayerSettings())),
+ glow_(cc::UIResourceLayer::Create(cc::LayerSettings())),
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