Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index 9e234c639936e885909ea832dd6a26b67f9f2344..b0d3da26a6fe7fd8b3af018a4f02349d9f07f5c4 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -161,7 +161,7 @@ TEST(StressJS) { |
// Add the Foo constructor the global object. |
env->Global()->Set(v8::String::NewFromUtf8(CcTest::isolate(), "Foo"), |
- v8::Utils::FunctionToLocal(function)); |
+ v8::Utils::CallableToLocal(function)); |
// Call the accessor through JavaScript. |
v8::Handle<v8::Value> result = v8::Script::Compile( |
v8::String::NewFromUtf8(CcTest::isolate(), "(new Foo).get"))->Run(); |