Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index 8da679cdc3e653b5322286e0b9fb75fb23930088..8b0359ebc46c1e35bdcee58c2d2dcffac6168f03 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -77,6 +77,7 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/theme_provider.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/compositor/paint_recorder.h" |
#include "ui/events/event.h" |
#include "ui/gfx/animation/slide_animation.h" |
@@ -176,7 +177,7 @@ void LocationBarView::Init() { |
DCHECK(GetWidget()); |
// Make sure children with layers are clipped. See http://crbug.com/589497 |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetFillsBoundsOpaquely(false); |
layer()->SetMasksToBounds(true); |