Index: chrome/browser/ui/views/dropdown_bar_host.cc |
diff --git a/chrome/browser/ui/views/dropdown_bar_host.cc b/chrome/browser/ui/views/dropdown_bar_host.cc |
index d954866fe66bfdbdc71c3306ac42a3d8ac5ee92b..f4c2a290d0ab758cfaeeb4fada35f3e44860c778 100644 |
--- a/chrome/browser/ui/views/dropdown_bar_host.cc |
+++ b/chrome/browser/ui/views/dropdown_bar_host.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/ui/views/dropdown_bar_host_delegate.h" |
#include "chrome/browser/ui/views/frame/browser_view.h" |
#include "chrome/browser/ui/views/theme_copying_widget.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/events/keycodes/keyboard_codes.h" |
#include "ui/gfx/animation/slide_animation.h" |
#include "ui/gfx/scrollbar_size.h" |
@@ -43,7 +44,7 @@ void DropdownBarHost::Init(views::View* host_view, |
// The |clip_view| exists to paint to a layer so that it can clip descendent |
// Views which also paint to a Layer. See http://crbug.com/589497 |
std::unique_ptr<views::View> clip_view(new views::View()); |
- clip_view->SetPaintToLayer(true); |
+ clip_view->SetPaintToLayer(ui::LAYER_TEXTURED); |
clip_view->layer()->SetFillsBoundsOpaquely(false); |
clip_view->layer()->SetMasksToBounds(true); |
clip_view->AddChildView(view_); |