Index: tools/memory_watcher/dllmain.cc |
diff --git a/tools/memory_watcher/dllmain.cc b/tools/memory_watcher/dllmain.cc |
index 6bd91535d506d6b20dac593d80da371a52e9803a..b642314727bba18a1c4ee889462dfd47c2e6647c 100644 |
--- a/tools/memory_watcher/dllmain.cc |
+++ b/tools/memory_watcher/dllmain.cc |
@@ -35,9 +35,8 @@ class MemoryWatcherDumpKey : public HotKeyHandler { |
MemoryWatcherDumpKey(UINT modifiers, UINT vkey) |
: HotKeyHandler(modifiers, vkey) {} |
- virtual LRESULT OnHotKey(UINT, WPARAM, LPARAM, BOOL& bHandled) { |
+ virtual void OnHotKey(UINT, WPARAM, LPARAM) { |
SetEvent(g_dump_event); |
- return 1; |
} |
}; |