diff options
Diffstat (limited to 'base/synchronization/waitable_event_posix.cc')
-rw-r--r-- | base/synchronization/waitable_event_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/synchronization/waitable_event_posix.cc b/base/synchronization/waitable_event_posix.cc index 01077ff..fbf8d10 100644 --- a/base/synchronization/waitable_event_posix.cc +++ b/base/synchronization/waitable_event_posix.cc @@ -91,7 +91,7 @@ class SyncWaiter : public WaitableEvent::Waiter { cv_(&lock_) { } - bool Fire(WaitableEvent* signaling_event) { + virtual bool Fire(WaitableEvent* signaling_event) OVERRIDE { base::AutoLock locked(lock_); if (fired_) @@ -117,7 +117,7 @@ class SyncWaiter : public WaitableEvent::Waiter { // These waiters are always stack allocated and don't delete themselves. Thus // there's no problem and the ABA tag is the same as the object pointer. // --------------------------------------------------------------------------- - bool Compare(void* tag) { + virtual bool Compare(void* tag) OVERRIDE { return this == tag; } |