Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index d19247a040054d92a665d75230e6aa057ea933c0..bbc121e32781d7045c6d3cf52f5856f97283b91d 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -797,7 +797,7 @@ void Shell::InstallUtilityScript(Isolate* isolate) { |
// Start the in-process debugger if requested. |
if (i::FLAG_debugger && !i::FLAG_debugger_agent) { |
- v8::Debug::SetDebugEventListener2(HandleDebugEvent); |
+ v8::Debug::SetDebugEventListener(HandleDebugEvent); |
} |
} |
#endif // !V8_SHARED |