| Index: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
|
| index a4ba497165a0a33e7afce7698994301100a0335b..b87243163f0f58205ba376ccc4c7f6277acb308d 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js
|
| @@ -46,8 +46,9 @@ WebInspector.ScreencastApp.prototype = {
|
| return;
|
| this._target = target;
|
|
|
| - if (target.hasBrowserCapability()) {
|
| - this._screencastView = new WebInspector.ScreencastView(target);
|
| + var resourceTreeModel = WebInspector.ResourceTreeModel.fromTarget(target);
|
| + if (resourceTreeModel) {
|
| + this._screencastView = new WebInspector.ScreencastView(target, resourceTreeModel);
|
| this._rootSplitWidget.setMainWidget(this._screencastView);
|
| this._screencastView.initialize();
|
| } else {
|
|
|