Index: ash/common/system/tray/tray_details_view.cc |
diff --git a/ash/common/system/tray/tray_details_view.cc b/ash/common/system/tray/tray_details_view.cc |
index 6e1b8739ce4e454a5e3011fce2032f2d0b259b92..1851386a5ea37bc142fb1f248b4d3362cdd03b0d 100644 |
--- a/ash/common/system/tray/tray_details_view.cc |
+++ b/ash/common/system/tray/tray_details_view.cc |
@@ -20,6 +20,7 @@ |
#include "grit/ash_strings.h" |
#include "third_party/skia/include/core/SkDrawLooper.h" |
#include "ui/base/resource/resource_bundle.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/compositor/paint_context.h" |
#include "ui/compositor/paint_recorder.h" |
#include "ui/gfx/canvas.h" |
@@ -367,7 +368,7 @@ void TrayDetailsView::CreateScrollableList() { |
scroller_->SetContentsView(scroll_content_); |
// Make the |scroller_| have a layer to clip |scroll_content_|'s children. |
// TODO(varkha): Make the sticky rows work with EnableViewPortLayer(). |
- scroller_->SetPaintToLayer(true); |
+ scroller_->SetPaintToLayer(ui::LAYER_TEXTURED); |
scroller_->set_background( |
views::Background::CreateSolidBackground(kBackgroundColor)); |
scroller_->layer()->SetMasksToBounds(true); |