Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
index 805f0015ed8ab7f693c233fd6dd97263dce6b3ca..6972f1807d2a9b2ed0559c230a1118ae4c26b20e 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -74,6 +74,7 @@ |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/theme_provider.h" |
#include "ui/base/window_open_disposition.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/compositor/paint_recorder.h" |
#include "ui/gfx/animation/slide_animation.h" |
#include "ui/gfx/canvas.h" |
@@ -587,7 +588,7 @@ BookmarkBarView::BookmarkBarView(Browser* browser, BrowserView* browser_view) |
Init(); |
// Don't let the bookmarks show on top of the location bar while animating. |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetMasksToBounds(true); |
layer()->SetFillsBoundsOpaquely(false); |