Index: test/cctest/test-api.h |
diff --git a/test/cctest/test-api.h b/test/cctest/test-api.h |
index 17e0711af55fee0288fafa0ac7976e0007d86e20..6b4d459889593790feaa52d8c4c73f5af4a9bd50 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<v8::Object>()); |
+ rv.Set(v8::Local<v8::Object>()); |
CHECK((*o)->IsTheHole() || (*o)->IsUndefined()); |
CHECK_EQ(is_runtime, (*o)->IsTheHole()); |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(t.GetIsolate()); |