| Index: test/cctest/test-alloc.cc
|
| diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc
|
| index b9d0f61ef8e44d8ea41cbe35e853d6090882c521..9e234c639936e885909ea832dd6a26b67f9f2344 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::ToLocal(function));
|
| + v8::Utils::FunctionToLocal(function));
|
| // Call the accessor through JavaScript.
|
| v8::Handle<v8::Value> result = v8::Script::Compile(
|
| v8::String::NewFromUtf8(CcTest::isolate(), "(new Foo).get"))->Run();
|
|
|