| Index: third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| index 1c45cbb71d43dab826e883b480500cbf7ec8dee4..7e627659bc2c454a9d299fb5ee5776d67195603c 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| @@ -39,8 +39,8 @@ Screencast.ScreencastView = class extends UI.VBox {
|
| super();
|
| this._target = screenCaptureModel.target();
|
| this._screenCaptureModel = screenCaptureModel;
|
| - this._domModel = SDK.DOMModel.fromTarget(this._target);
|
| - this._resourceTreeModel = SDK.ResourceTreeModel.fromTarget(this._target);
|
| + this._domModel = this._target.model(SDK.DOMModel);
|
| + this._resourceTreeModel = this._target.model(SDK.ResourceTreeModel);
|
|
|
| this.setMinimumSize(150, 150);
|
| this.registerRequiredCSS('screencast/screencastView.css');
|
|
|