diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp b/chromium/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp index 7229e361bdc..f4470bad04c 100644 --- a/chromium/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp +++ b/chromium/third_party/WebKit/Source/core/inspector/v8/V8InjectedScriptHost.cpp @@ -212,9 +212,9 @@ void V8InjectedScriptHost::functionDetailsCallback(const v8::FunctionCallbackInf InjectedScriptHost* host = V8InjectedScriptHost::unwrap(info.Holder()); V8Debugger& debugger = host->debugger(); - v8::Local<v8::Value> scopes = debugger.functionScopes(function); - if (!scopes.IsEmpty() && scopes->IsArray()) - result->Set(v8AtomicString(isolate, "rawScopes"), scopes); + v8::MaybeLocal<v8::Value> scopes = debugger.functionScopes(function); + if (!scopes.IsEmpty() && scopes.ToLocalChecked()->IsArray()) + result->Set(v8AtomicString(isolate, "rawScopes"), scopes.ToLocalChecked()); v8SetReturnValue(info, result); } |