From: Cheng Zhao Date: Mon, 28 Jul 2014 12:32:10 +0000 (+0800) Subject: Fix building on Windows. X-Git-Tag: v0.15.0~1^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8dd7f811754386d5857de9eef91dc87c316fc54a;p=electron.git Fix building on Windows. --- diff --git a/atom/browser/ui/win/notify_icon.cc b/atom/browser/ui/win/notify_icon.cc index 348ee931..55d8a2a6 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)