Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 33e4f15c5c13bb22fe6043830637281a6c29bc50..e436738fb41573429d70b1533fa2cb03290ab6f2 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -417,7 +417,8 @@ class Debug { |
void OnCompileError(Handle<Script> script); |
void OnBeforeCompile(Handle<Script> script); |
void OnAfterCompile(Handle<Script> script); |
- void OnAsyncTaskEvent(Handle<JSObject> data); |
+ void OnAsyncTaskEvent(Handle<String> type, Handle<Object> id, |
+ Handle<String> name); |
// API facing. |
void SetEventListener(Handle<Object> callback, Handle<Object> data); |
@@ -588,8 +589,9 @@ class Debug { |
Handle<Object> promise); |
MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( |
Handle<Script> script, v8::DebugEvent type); |
- MUST_USE_RESULT MaybeHandle<Object> MakeAsyncTaskEvent( |
- Handle<JSObject> task_event); |
+ MUST_USE_RESULT MaybeHandle<Object> MakeAsyncTaskEvent(Handle<String> type, |
+ Handle<Object> id, |
+ Handle<String> name); |
// Mirror cache handling. |
void ClearMirrorCache(); |