Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 3ac6d3df1687e94327e7216158824e25fba111d4..872b1d459df016e88dc529df1d8f04727ef99ae2 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -799,7 +799,7 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
Handle<FixedArray> storage = |
isolate->factory()->NewFixedArray(next_enumeration); |
- dictionary->CopyEnumKeysTo(*storage); |
+ storage = Handle<FixedArray>(dictionary->CopyEnumKeysTo(*storage)); |
ASSERT(storage->length() == object->NumberOfLocalProperties(DONT_ENUM)); |
return storage; |
} |