| Index: third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| index 7dda74bf35259b9406ec88ba7bb17b9e3e8736ca..ad9f2e7638d4598b3ebfba2dc9229c692815e213 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "bindings/core/v8/DOMWrapperWorld.h"
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/SourceLocation.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8ErrorHandler.h"
|
| #include "bindings/core/v8/V8Node.h"
|
| #include "bindings/core/v8/V8Window.h"
|
| @@ -178,8 +179,8 @@ void MainThreadDebugger::exceptionThrown(ExecutionContext* context,
|
| frame = toDocument(context)->frame();
|
| if (!frame)
|
| return;
|
| - scriptState = event->world() ? ScriptState::forWorld(frame, *event->world())
|
| - : nullptr;
|
| + scriptState =
|
| + event->world() ? toScriptState(frame, *event->world()) : nullptr;
|
| } else if (context->isMainThreadWorkletGlobalScope()) {
|
| frame = toMainThreadWorkletGlobalScope(context)->frame();
|
| if (!frame)
|
|
|