| Index: third_party/WebKit/Source/platform/v8_inspector/V8Debugger.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.cpp
|
| index f5898b4a9068e174693006b0fc80b7b195e11584..bed7f8b9c067a9bbe27217e739241952901ce70a 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8Debugger.cpp
|
| @@ -508,6 +508,8 @@ void V8Debugger::handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails)
|
| v8::Context::Scope contextScope(debuggerContext());
|
| v8::Local<v8::Value> argv[] = { eventDetails.GetEventData() };
|
| v8::Local<v8::Value> value = callDebuggerMethod("getAfterCompileScript", 1, argv).ToLocalChecked();
|
| + if (value->IsNull())
|
| + return;
|
| DCHECK(value->IsObject());
|
| v8::Local<v8::Object> scriptObject = v8::Local<v8::Object>::Cast(value);
|
| agent->didParseSource(wrapUnique(new V8DebuggerScript(m_isolate, scriptObject, inLiveEditScope)), event == v8::AfterCompile);
|
|
|