| Index: third_party/WebKit/Source/devtools/front_end/main/ExecutionContextSelector.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/ExecutionContextSelector.js b/third_party/WebKit/Source/devtools/front_end/main/ExecutionContextSelector.js
|
| index a337b0122cd4e054c253b7469cbd6d61ab8c73dd..1600d39b1515eb619f09ff6017570d0b8caa3a40 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/ExecutionContextSelector.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/ExecutionContextSelector.js
|
| @@ -129,7 +129,7 @@ Main.ExecutionContextSelector = class {
|
| return false;
|
| if (executionContext.target().parentTarget())
|
| return false;
|
| - var resourceTreeModel = SDK.ResourceTreeModel.fromTarget(executionContext.target());
|
| + var resourceTreeModel = executionContext.target().model(SDK.ResourceTreeModel);
|
| var frame = resourceTreeModel && resourceTreeModel.frameForId(executionContext.frameId);
|
| if (frame && frame.isMainFrame())
|
| return true;
|
|
|