Index: ui/base/clipboard/clipboard_aurax11.cc |
diff --git a/ui/base/clipboard/clipboard_aurax11.cc b/ui/base/clipboard/clipboard_aurax11.cc |
index f86e4a2ffdc74b1692fe70003293e108dd6dee39..c85c582d8506633024235ac684c369a5d2fd070c 100644 |
--- a/ui/base/clipboard/clipboard_aurax11.cc |
+++ b/ui/base/clipboard/clipboard_aurax11.cc |
@@ -73,8 +73,7 @@ class SelectionChangeObserver : public base::MessagePumpObserver { |
virtual ~SelectionChangeObserver(); |
// Overridden from base::MessagePumpObserver: |
- 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 {} |
@@ -120,8 +119,7 @@ SelectionChangeObserver* SelectionChangeObserver::GetInstance() { |
return Singleton<SelectionChangeObserver>::get(); |
} |
-base::EventStatus SelectionChangeObserver::WillProcessEvent( |
- const base::NativeEvent& event) { |
+void SelectionChangeObserver::WillProcessEvent(const base::NativeEvent& event) { |
if (event->type == event_base_ + XFixesSelectionNotify) { |
XFixesSelectionNotifyEvent* ev = |
reinterpret_cast<XFixesSelectionNotifyEvent*>(event); |
@@ -133,7 +131,6 @@ base::EventStatus SelectionChangeObserver::WillProcessEvent( |
DLOG(ERROR) << "Unexpected selection atom: " << ev->selection; |
} |
} |
- return base::EVENT_CONTINUE; |
} |
/////////////////////////////////////////////////////////////////////////////// |