Index: base/message_loop_unittest.cc |
diff --git a/base/message_loop_unittest.cc b/base/message_loop_unittest.cc |
index 883a805200510d4b663f1a0be462bdb9842ece52..d1e921cc0029780a5cff49c55eb760cf350e350f 100644 |
--- a/base/message_loop_unittest.cc |
+++ b/base/message_loop_unittest.cc |
@@ -1080,7 +1080,7 @@ class DispatcherImpl : public MessageLoopForUI::Dispatcher { |
public: |
DispatcherImpl() : dispatch_count_(0) {} |
- virtual bool Dispatch(const MSG& msg) { |
+ virtual bool Dispatch(const base::NativeEvent& msg) OVERRIDE { |
::TranslateMessage(&msg); |
::DispatchMessage(&msg); |
// Do not count WM_TIMER since it is not what we post and it will cause |