| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 3e1f9fec982dbcc6231edcdd3bec8a85b8f601ab..0259356d9bb798c9ab1e1b07627d3aa1b2249cb5 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -7095,7 +7095,8 @@ void Debug::SetHostDispatchHandler(HostDispatchHandler handler,
|
| i::Isolate* isolate = i::Isolate::Current();
|
| EnsureInitializedForIsolate(isolate, "v8::Debug::SetHostDispatchHandler");
|
| ENTER_V8(isolate);
|
| - isolate->debugger()->SetHostDispatchHandler(handler, period);
|
| + isolate->debugger()->SetHostDispatchHandler(
|
| + handler, i::TimeDelta::FromMilliseconds(period));
|
| }
|
|
|
|
|
|
|