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 181371eea60742530ef6367d3717fec5411ebc3c..1ad31a6793dd45074b95d5a4bab196b7c31969cc 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -75,7 +75,6 @@ |
#include "ui/views/button_drag_utils.h" |
#include "ui/views/controls/button/menu_button.h" |
#include "ui/views/controls/label.h" |
-#include "ui/views/controls/menu/menu_item_view.h" |
#include "ui/views/drag_utils.h" |
#include "ui/views/metrics.h" |
#include "ui/views/view_constants.h" |
@@ -90,7 +89,6 @@ using content::Referrer; |
using ui::DropTargetEvent; |
using views::CustomButton; |
using views::MenuButton; |
-using views::MenuItemView; |
using views::View; |
// Margins around the content. |
@@ -567,11 +565,11 @@ views::MenuButton* BookmarkBarView::GetMenuButtonForNode( |
void BookmarkBarView::GetAnchorPositionForButton( |
views::MenuButton* button, |
- MenuItemView::AnchorPosition* anchor) { |
+ views::MenuAnchorPosition* anchor) { |
if (button == other_bookmarked_button_ || button == overflow_button_) |
- *anchor = MenuItemView::TOPRIGHT; |
+ *anchor = views::MENU_ANCHOR_TOPRIGHT; |
else |
- *anchor = MenuItemView::TOPLEFT; |
+ *anchor = views::MENU_ANCHOR_TOPLEFT; |
} |
views::MenuItemView* BookmarkBarView::GetMenu() { |