Index: views/controls/menu/menu_host_win.h |
diff --git a/views/controls/menu/menu_host_win.h b/views/controls/menu/menu_host_win.h |
index 2300aabcfacfd375cd9345388cf4399f6e8f2031..f605275767bd89d7b58b7b7c7c593d7b9280a47b 100644 |
--- a/views/controls/menu/menu_host_win.h |
+++ b/views/controls/menu/menu_host_win.h |
@@ -2,7 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
#ifndef VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ |
#define VIEWS_CONTROLS_MENU_MENU_HOST_WIN_H_ |
#pragma once |
@@ -40,7 +39,7 @@ class MenuHostWin : public WidgetWin, |
virtual void OnCaptureChanged(HWND hwnd) OVERRIDE; |
virtual void OnCancelMode() OVERRIDE; |
virtual RootView* CreateRootView() OVERRIDE; |
- virtual bool ReleaseCaptureOnMouseReleased() OVERRIDE; |
+ virtual bool ShouldReleaseCaptureOnMouseReleased() const OVERRIDE; |
void DoCapture(); |