Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 12f846e9cb72842b6dbeff32ca947658324ea5a1..f1cda629356adf9e8836e7ef3450068b1f84e151 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -16424,7 +16424,7 @@ static void FixedTypedArrayTestHelper( |
v8::Handle<v8::Object> obj = v8::Object::New(CcTest::isolate()); |
i::Handle<i::JSObject> jsobj = v8::Utils::OpenHandle(*obj); |
i::Handle<i::Map> fixed_array_map = |
- isolate->factory()->GetElementsTransitionMap(jsobj, elements_kind); |
+ i::JSObject::GetElementsTransitionMap(jsobj, elements_kind); |
jsobj->set_map(*fixed_array_map); |
jsobj->set_elements(*fixed_array); |