Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 9f83122aecd0946c7a56980290ae6770d8b328c3..79dc72264d940d0f47c585c4370e0515ac79786e 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1467,7 +1467,7 @@ class DictionaryElementsAccessor |
DisallowHeapAllocation no_gc; |
// Remove elements that should be deleted. |
int removed_entries = 0; |
- Object* the_hole_value = isolate->heap()->the_hole_value(); |
+ Handle<Object> the_hole_value = isolate->factory()->the_hole_value(); |
for (int i = 0; i < capacity; i++) { |
Object* key = dict->KeyAt(i); |
if (key->IsNumber()) { |