Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 15b16fc5df084860991c45cede3574d5a23c9985..aa67185e26fda26d87447525921694c4f7bad6ae 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1908,7 +1908,7 @@ void Isolate::Deinit() { |
delete basic_block_profiler_; |
basic_block_profiler_ = NULL; |
- for (CancelableTask* task : cancelable_tasks_) { |
+ for (Cancelable* task : cancelable_tasks_) { |
task->Cancel(); |
} |
cancelable_tasks_.clear(); |
@@ -2790,12 +2790,12 @@ void Isolate::CheckDetachedContextsAfterGC() { |
} |
-void Isolate::RegisterCancelableTask(CancelableTask* task) { |
+void Isolate::RegisterCancelableTask(Cancelable* task) { |
cancelable_tasks_.insert(task); |
} |
-void Isolate::RemoveCancelableTask(CancelableTask* task) { |
+void Isolate::RemoveCancelableTask(Cancelable* task) { |
auto removed = cancelable_tasks_.erase(task); |
USE(removed); |
DCHECK(removed == 1); |