Index: content/browser/android/edge_effect_l.cc |
diff --git a/content/browser/android/edge_effect_l.cc b/content/browser/android/edge_effect_l.cc |
index 728db67dbe8f4fb78cd013c27df7f171c07c057b..d67d4c2d1b0b6976f1d4c951a7a1619784e4c151 100644 |
--- a/content/browser/android/edge_effect_l.cc |
+++ b/content/browser/android/edge_effect_l.cc |
@@ -6,6 +6,7 @@ |
#include "cc/layers/ui_resource_layer.h" |
#include "content/browser/android/animation_utils.h" |
+#include "content/public/browser/android/compositor.h" |
#include "ui/android/resources/resource_manager.h" |
#include "ui/android/resources/system_ui_resource_type.h" |
@@ -48,7 +49,7 @@ const ui::SystemUIResourceType kResourceId = ui::OVERSCROLL_GLOW_L; |
EdgeEffectL::EdgeEffectL(ui::ResourceManager* resource_manager) |
: resource_manager_(resource_manager), |
- glow_(cc::UIResourceLayer::Create()), |
+ glow_(cc::UIResourceLayer::Create(Compositor::LayerSettings())), |
glow_alpha_(0), |
glow_scale_y_(0), |
glow_alpha_start_(0), |