| Index: test/cctest/test-heap-profiler.cc
|
| diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
|
| index 254cd1e490bbe28e5eac66bf0358edb23eb7d4c3..33b0fb9299b4117f1b0a091d739129f2303ebc17 100644
|
| --- a/test/cctest/test-heap-profiler.cc
|
| +++ b/test/cctest/test-heap-profiler.cc
|
| @@ -1605,9 +1605,7 @@ TEST(WeakGlobalHandle) {
|
| CHECK(!HasWeakGlobalHandle());
|
|
|
| v8::Persistent<v8::Object> handle(env->GetIsolate(), v8::Object::New());
|
| - handle.MakeWeak<v8::Value, void>(env->GetIsolate(),
|
| - NULL,
|
| - PersistentHandleCallback);
|
| + handle.MakeWeak<v8::Value, void>(NULL, PersistentHandleCallback);
|
|
|
| CHECK(HasWeakGlobalHandle());
|
| }
|
|
|