Index: src/cancelable-task.h |
diff --git a/src/cancelable-task.h b/src/cancelable-task.h |
index a8387fcd950008e0b416e4cb09c6477a14334147..6c1b631d8d7e1b6dbbaa8cede2bd0257004a5362 100644 |
--- a/src/cancelable-task.h |
+++ b/src/cancelable-task.h |
@@ -5,11 +5,12 @@ |
#ifndef V8_CANCELABLE_TASK_H_ |
#define V8_CANCELABLE_TASK_H_ |
+#include <map> |
+ |
#include "include/v8-platform.h" |
#include "src/atomic-utils.h" |
#include "src/base/macros.h" |
#include "src/base/platform/condition-variable.h" |
-#include "src/hashmap.h" |
namespace v8 { |
namespace internal { |
@@ -51,7 +52,7 @@ class CancelableTaskManager { |
uint32_t task_id_counter_; |
// A set of cancelable tasks that are currently registered. |
- HashMap cancelable_tasks_; |
+ std::map<uint32_t, Cancelable*> cancelable_tasks_; |
Nico
2016/05/11 13:04:24
(if you don't need to ordering -- and given this w
|
// Mutex and condition variable enabling concurrent register and removing, as |
// well as waiting for background tasks on {CancelAndWait}. |