Index: ui/base/win/foreground_helper.cc |
diff --git a/ui/base/win/foreground_helper.cc b/ui/base/win/foreground_helper.cc |
index 219b26fc1fa77989c064f99589fb90175fa5c19d..b4f53b6daaa29b4a182f16e43b0b4d9ecf5620f5 100644 |
--- a/ui/base/win/foreground_helper.cc |
+++ b/ui/base/win/foreground_helper.cc |
@@ -72,13 +72,9 @@ HRESULT ForegroundHelper::ForegroundHotKey(HWND window) { |
return S_OK; |
} |
- // Handle the registered Hotkey being pressed. |
-LRESULT ForegroundHelper::OnHotKey(UINT message, |
- WPARAM wparam, |
- LPARAM lparam, |
- BOOL& handled) { |
+// Handle the registered Hotkey being pressed. |
+void ForegroundHelper::OnHotKey(int id, UINT vcode, UINT modifiers) { |
SetForegroundWindow(window_); |
- return 1; |
} |
} // namespace ui |