aboutsummaryrefslogtreecommitdiff
path: root/src/handles.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/handles.cc')
-rw-r--r--src/handles.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handles.cc b/src/handles.cc
index 3b1902e0..26e11b3b 100644
--- a/src/handles.cc
+++ b/src/handles.cc
@@ -124,7 +124,8 @@ CanonicalHandleScope::CanonicalHandleScope(Isolate* isolate)
prev_canonical_scope_ = handle_scope_data->canonical_scope;
handle_scope_data->canonical_scope = this;
root_index_map_ = new RootIndexMap(isolate);
- identity_map_ = new IdentityMap<Object**>(isolate->heap(), &zone_);
+ identity_map_ = new IdentityMap<Object**, ZoneAllocationPolicy>(
+ isolate->heap(), ZoneAllocationPolicy(&zone_));
canonical_level_ = handle_scope_data->level;
}