| Index: base/synchronization/waitable_event_posix.cc
|
| diff --git a/base/synchronization/waitable_event_posix.cc b/base/synchronization/waitable_event_posix.cc
|
| index 9cbc03a80b244555fae8a28eda4929da83c613fe..ae03ead622324c647c070f875342cb892ba92add 100644
|
| --- a/base/synchronization/waitable_event_posix.cc
|
| +++ b/base/synchronization/waitable_event_posix.cc
|
| @@ -149,6 +149,10 @@ class SyncWaiter : public WaitableEvent::Waiter {
|
| base::ConditionVariable cv_;
|
| };
|
|
|
| +bool WaitableEvent::Wait() {
|
| + return TimedWait(TimeDelta::FromSeconds(-1));
|
| +}
|
| +
|
| bool WaitableEvent::TimedWait(const TimeDelta& max_time) {
|
| const Time end_time(Time::Now() + max_time);
|
| const bool finite_time = max_time.ToInternalValue() >= 0;
|
| @@ -204,13 +208,6 @@ bool WaitableEvent::TimedWait(const TimeDelta& max_time) {
|
| }
|
| }
|
|
|
| -bool WaitableEvent::Wait() {
|
| - return TimedWait(TimeDelta::FromSeconds(-1));
|
| -}
|
| -
|
| -// -----------------------------------------------------------------------------
|
| -
|
| -
|
| // -----------------------------------------------------------------------------
|
| // Synchronous waiting on multiple objects.
|
|
|
|
|