| Index: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| index 95b646410eea87f5872f6ee2aeaa933c0ee74a69..dd048aaf8ecd23dee7cc949216f46d4c769ba714 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| @@ -190,9 +190,10 @@ WebInspector.NavigatorView.prototype = {
|
| _uiSourceCodeFrame: function(uiSourceCode)
|
| {
|
| var target = WebInspector.NetworkProject.targetForProject(uiSourceCode.project());
|
| - if (!target)
|
| + var resourceTreeModel = target && WebInspector.ResourceTreeModel.fromTarget(target);
|
| + if (!resourceTreeModel)
|
| return null;
|
| - return WebInspector.NetworkProject.frameForProject(uiSourceCode.project()) || target.resourceTreeModel.mainFrame;
|
| + return WebInspector.NetworkProject.frameForProject(uiSourceCode.project()) || resourceTreeModel.mainFrame;
|
| },
|
|
|
| /**
|
|
|