| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 7845525da74440ec147fec77376efcb4efc225c4..9b681260bdd661a94ab4c81226c00f8d32a605bc 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3276,16 +3276,11 @@ void Debug::SendCommand(const uint16_t* command, int length,
|
| }
|
|
|
|
|
| -void Debug::SetHostDispatchHandler(HostDispatchHandler handler) {
|
| +void Debug::SetHostDispatchHandler(HostDispatchHandler handler,
|
| + int period) {
|
| EnsureInitialized("v8::Debug::SetHostDispatchHandler");
|
| ENTER_V8;
|
| - i::Debugger::SetHostDispatchHandler(handler);
|
| -}
|
| -
|
| -
|
| -void Debug::SendHostDispatch(ClientData* dispatch) {
|
| - if (!i::V8::HasBeenSetup()) return;
|
| - i::Debugger::ProcessHostDispatch(dispatch);
|
| + i::Debugger::SetHostDispatchHandler(handler, period);
|
| }
|
|
|
|
|
|
|