Index: base/synchronization/waitable_event_watcher_posix.cc |
diff --git a/base/synchronization/waitable_event_watcher_posix.cc b/base/synchronization/waitable_event_watcher_posix.cc |
index 54e01f8864fe983f6434aa504868278595f582a6..6fc337cc81b420b504cef3be0d7194557082d86d 100644 |
--- a/base/synchronization/waitable_event_watcher_posix.cc |
+++ b/base/synchronization/waitable_event_watcher_posix.cc |
@@ -65,7 +65,7 @@ class AsyncWaiter : public WaitableEvent::Waiter { |
callback_(callback), |
flag_(flag) { } |
- virtual bool Fire(WaitableEvent* event) OVERRIDE { |
+ bool Fire(WaitableEvent* event) override { |
// Post the callback if we haven't been cancelled. |
if (!flag_->value()) { |
message_loop_->PostTask(FROM_HERE, callback_); |
@@ -81,9 +81,7 @@ class AsyncWaiter : public WaitableEvent::Waiter { |
} |
// See StopWatching for discussion |
- virtual bool Compare(void* tag) OVERRIDE { |
- return tag == flag_.get(); |
- } |
+ bool Compare(void* tag) override { return tag == flag_.get(); } |
private: |
MessageLoop *const message_loop_; |