summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_host_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_host_win.cc')
-rw-r--r--views/controls/menu/menu_host_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/menu/menu_host_win.cc b/views/controls/menu/menu_host_win.cc
index 906dda5..0392a34 100644
--- a/views/controls/menu/menu_host_win.cc
+++ b/views/controls/menu/menu_host_win.cc
@@ -107,7 +107,7 @@ RootView* MenuHostWin::CreateRootView() {
return new MenuHostRootView(this, submenu_);
}
-bool MenuHostWin::ReleaseCaptureOnMouseReleased() {
+bool MenuHostWin::ShouldReleaseCaptureOnMouseReleased() const {
return false;
}
@@ -116,7 +116,7 @@ bool MenuHostWin::ReleaseCaptureOnMouseReleased() {
void MenuHostWin::DoCapture() {
owns_capture_ = true;
- SetNativeCapture();
+ SetMouseCapture();
}
////////////////////////////////////////////////////////////////////////////////