Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index c9e4008a2b54ee59993da4e9f41c37a523e35903..7f7c8ebf2bb690ac769e2ea4d18227a1d1db6ad7 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -5881,7 +5881,7 @@ TEST(Regress1878) { |
CcTest::InitializeVM(); |
v8::Isolate* isolate = CcTest::isolate(); |
v8::HandleScope scope(isolate); |
- v8::Local<v8::Function> constructor = v8::Utils::FunctionToLocal( |
+ v8::Local<v8::Function> constructor = v8::Utils::CallableToLocal( |
CcTest::i_isolate()->internal_array_function()); |
CcTest::global()->Set(v8_str("InternalArray"), constructor); |