Fix building on Linux.

This commit is contained in:
Cheng Zhao 2014-07-28 10:11:47 +00:00
parent c23c667c2d
commit 10c52bd6a6
3 changed files with 6 additions and 5 deletions

View file

@ -30,7 +30,7 @@ void MenuViews::Popup(Window* window) {
static_cast<NativeWindowViews*>(window->window())->widget(),
NULL,
gfx::Rect(cursor, gfx::Size()),
views::MenuItemView::TOPLEFT,
views::MENU_ANCHOR_TOPLEFT,
ui::MENU_SOURCE_MOUSE,
views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU));
}