Fix use of deprecated API.
R=jochen@chromium.org BUG= Review URL: https://codereview.chromium.org/1366173002 Cr-Commit-Position: refs/heads/master@{#30942}
This commit is contained in:
parent
fd1024ffb7
commit
7cc82f7c87
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user