From 8dd7f811754386d5857de9eef91dc87c316fc54a Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 28 Jul 2014 20:32:10 +0800 Subject: [PATCH] Fix building on Windows. --- atom/browser/ui/win/notify_icon.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/ui/win/notify_icon.cc b/atom/browser/ui/win/notify_icon.cc index 348ee9310364..55d8a2a6b573 100644 --- a/atom/browser/ui/win/notify_icon.cc +++ b/atom/browser/ui/win/notify_icon.cc @@ -66,7 +66,7 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos, NULL, NULL, gfx::Rect(gfx::win::ScreenToDIPPoint(cursor_pos), gfx::Size()), - views::MenuItemView::TOPLEFT, + views::MENU_ANCHOR_TOPLEFT, ui::MENU_SOURCE_MOUSE, views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU); if (result == views::MenuRunner::MENU_DELETED)