| 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 7a41ab9943b2b54fa0900f0116b7f871095b3227..e5e95aad60bc4956c91761311b04168cd234e6a0 100644
|
| --- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.cpp
|
| @@ -161,8 +161,8 @@ void MainThreadDebugger::ContextCreated(ScriptState* script_state,
|
| context_info.origin = ToV8InspectorStringView(origin_string);
|
| context_info.auxData = ToV8InspectorStringView(aux_data);
|
| context_info.hasMemoryOnConsole =
|
| - script_state->GetExecutionContext() &&
|
| - script_state->GetExecutionContext()->IsDocument();
|
| + ExecutionContext::From(script_state) &&
|
| + ExecutionContext::From(script_state)->IsDocument();
|
| GetV8Inspector()->contextCreated(context_info);
|
| }
|
|
|
|
|