Fix use of deprecated API.
authorvogelheim <vogelheim@chromium.org>
Fri, 25 Sep 2015 14:35:20 +0000 (07:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 25 Sep 2015 14:35:42 +0000 (14:35 +0000)
R=jochen@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1366173002

Cr-Commit-Position: refs/heads/master@{#30942}

test/cctest/test-api.h

index 17e0711af55fee0288fafa0ac7976e0007d86e20..6b4d459889593790feaa52d8c4c73f5af4a9bd50 100644 (file)
@@ -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());