Index: third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
index 555208d48fffcdc9730ed5eb74b8a3c3cb0ba06c..5cc32caef64eb2ddd7a4bc2c59bb1acb8965b984 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeModel.js |
@@ -675,7 +675,8 @@ Emulation.DeviceModeModel = class { |
* @param {boolean} mobile |
*/ |
_applyTouch(touchEnabled, mobile) { |
- Emulation.MultitargetTouchModel.instance().setTouchEnabled(touchEnabled, mobile); |
+ for (var emulationModel of SDK.targetManager.models(SDK.EmulationModel)) |
+ emulationModel.emulateTouch(touchEnabled, mobile); |
} |
}; |