Index: src/cancelable-task.cc |
diff --git a/src/cancelable-task.cc b/src/cancelable-task.cc |
index b712d98877ce930946bd8ceb4754bf4fe403ef8f..ea351f8908ce3694382ce1c597c4f46d2f81fb7e 100644 |
--- a/src/cancelable-task.cc |
+++ b/src/cancelable-task.cc |
@@ -93,18 +93,13 @@ |
} |
} |
+ |
CancelableTask::CancelableTask(Isolate* isolate) |
- : CancelableTask(isolate, isolate->cancelable_task_manager()) {} |
+ : Cancelable(isolate->cancelable_task_manager()), isolate_(isolate) {} |
-CancelableTask::CancelableTask(Isolate* isolate, CancelableTaskManager* manager) |
- : Cancelable(manager), isolate_(isolate) {} |
CancelableIdleTask::CancelableIdleTask(Isolate* isolate) |
- : CancelableIdleTask(isolate, isolate->cancelable_task_manager()) {} |
- |
-CancelableIdleTask::CancelableIdleTask(Isolate* isolate, |
- CancelableTaskManager* manager) |
- : Cancelable(manager), isolate_(isolate) {} |
+ : Cancelable(isolate->cancelable_task_manager()), isolate_(isolate) {} |
} // namespace internal |
} // namespace v8 |