Index: ui/display/chromeos/x11/native_display_delegate_x11.cc |
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.cc b/ui/display/chromeos/x11/native_display_delegate_x11.cc |
index 8f687c99241dad4856105fc1029b4b745519e693..f02165e0d1af20746d65f360a1bf5c23ed03556c 100644 |
--- a/ui/display/chromeos/x11/native_display_delegate_x11.cc |
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.cc |
@@ -110,8 +110,7 @@ class NativeDisplayDelegateX11::MessagePumpObserverX11 |
virtual ~MessagePumpObserverX11(); |
// base::MessagePumpObserver overrides: |
- virtual base::EventStatus WillProcessEvent(const base::NativeEvent& event) |
- OVERRIDE; |
+ virtual void WillProcessEvent(const base::NativeEvent& event) OVERRIDE; |
virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; |
private: |
@@ -126,8 +125,7 @@ NativeDisplayDelegateX11::MessagePumpObserverX11::MessagePumpObserverX11( |
NativeDisplayDelegateX11::MessagePumpObserverX11::~MessagePumpObserverX11() {} |
-base::EventStatus |
-NativeDisplayDelegateX11::MessagePumpObserverX11::WillProcessEvent( |
+void NativeDisplayDelegateX11::MessagePumpObserverX11::WillProcessEvent( |
const base::NativeEvent& event) { |
// XI_HierarchyChanged events are special. There is no window associated with |
// these events. So process them directly from here. |
@@ -138,8 +136,6 @@ NativeDisplayDelegateX11::MessagePumpObserverX11::WillProcessEvent( |
// This also takes care of same event being received twice. |
delegate_->NotifyDisplayObservers(); |
} |
- |
- return base::EVENT_CONTINUE; |
} |
void NativeDisplayDelegateX11::MessagePumpObserverX11::DidProcessEvent( |