diff --git a/test/cctest/test-api.h b/test/cctest/test-api.h index 17e0711af5..6b4d459889 100644 --- a/test/cctest/test-api.h +++ b/test/cctest/test-api.h @@ -20,7 +20,7 @@ static void CheckReturnValue(const T& t, i::Address callback) { bool is_runtime = (*o)->IsTheHole(); rv.Set(true); CHECK(!(*o)->IsTheHole() && !(*o)->IsUndefined()); - rv.Set(v8::Handle()); + rv.Set(v8::Local()); CHECK((*o)->IsTheHole() || (*o)->IsUndefined()); CHECK_EQ(is_runtime, (*o)->IsTheHole()); i::Isolate* isolate = reinterpret_cast(t.GetIsolate());