| 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 a1250e94dfecf27a09c21f88ca61c025d82f7514..522340038e0cbc826839f3d7f6219b4a049a22a9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
|
| @@ -130,7 +130,8 @@ Screencast.ScreencastView = class extends UI.VBox {
|
| 'jpeg', 80, Math.floor(Math.min(maxImageDimension, dimensions.width)),
|
| Math.floor(Math.min(maxImageDimension, dimensions.height)), undefined, this._screencastFrame.bind(this),
|
| this._screencastVisibilityChanged.bind(this));
|
| - Emulation.MultitargetTouchModel.instance().setCustomTouchEnabled(true);
|
| + for (var emulationModel of SDK.targetManager.models(SDK.EmulationModel))
|
| + emulationModel.overrideEmulateTouch(true);
|
| if (this._overlayModel)
|
| this._overlayModel.setHighlighter(this);
|
| }
|
| @@ -140,7 +141,8 @@ Screencast.ScreencastView = class extends UI.VBox {
|
| return;
|
| this._isCasting = false;
|
| this._screenCaptureModel.stopScreencast();
|
| - Emulation.MultitargetTouchModel.instance().setCustomTouchEnabled(false);
|
| + for (var emulationModel of SDK.targetManager.models(SDK.EmulationModel))
|
| + emulationModel.overrideEmulateTouch(false);
|
| if (this._overlayModel)
|
| this._overlayModel.setHighlighter(null);
|
| }
|
|
|