Index: src/d8-debug.cc |
diff --git a/src/d8-debug.cc b/src/d8-debug.cc |
index 3adeb718004aa5d8587204b853d21c42c6e80375..29055007ea9a9143e924067670c709e0a1b723cf 100644 |
--- a/src/d8-debug.cc |
+++ b/src/d8-debug.cc |
@@ -201,7 +201,7 @@ void RemoteDebugger::Run() { |
// Process events received from debugged VM and from the keyboard. |
bool terminate = false; |
while (!terminate) { |
- event_available_->Wait(); |
+ event_available_.Wait(); |
RemoteDebuggerEvent* event = GetEvent(); |
switch (event->type()) { |
case RemoteDebuggerEvent::kMessage: |
@@ -258,7 +258,7 @@ void RemoteDebugger::AddEvent(RemoteDebuggerEvent* event) { |
tail_->set_next(event); |
tail_ = event; |
} |
- event_available_->Signal(); |
+ event_available_.Signal(); |
} |