Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index f5ae10dbe8d7cb70865d99a888863f286b542eaa..f61f190291ecc3365f09e94b60d350a44601adb3 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3731,7 +3731,7 @@ void PrepareExternalArrayElements(i::Handle<i::JSObject> object, |
isolate->factory()->NewExternalArray(length, array_type, data); |
i::Handle<i::Map> external_array_map = |
- isolate->factory()->GetElementsTransitionMap( |
+ i::JSObject::GetElementsTransitionMap( |
object, |
GetElementsKindFromExternalArrayType(array_type)); |