Index: base/synchronization/waitable_event_win.cc |
diff --git a/base/synchronization/waitable_event_win.cc b/base/synchronization/waitable_event_win.cc |
index a0e39c1571a205421b84e59270d867e86b19258c..31932bd3f9fec19bd494428c886cfb5346dc8c4a 100644 |
--- a/base/synchronization/waitable_event_win.cc |
+++ b/base/synchronization/waitable_event_win.cc |
@@ -46,12 +46,11 @@ bool WaitableEvent::IsSignaled() { |
return TimedWait(TimeDelta::FromMilliseconds(0)); |
} |
-bool WaitableEvent::Wait() { |
+void WaitableEvent::Wait() { |
DWORD result = WaitForSingleObject(handle_, INFINITE); |
// It is most unexpected that this should ever fail. Help consumers learn |
// about it if it should ever fail. |
DCHECK_EQ(WAIT_OBJECT_0, result) << "WaitForSingleObject failed"; |
- return result == WAIT_OBJECT_0; |
} |
bool WaitableEvent::TimedWait(const TimeDelta& max_time) { |