| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index aecb58ca9353b57f2d8d11da598895a54e2a39d2..6de4dfd3dea4667c987bd0ea20061ba0a597e19e 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));
|
| }
|
|
|
|
|
|
|