| Index: third_party/WebKit/Source/devtools/front_end/main/Tests.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Tests.js b/third_party/WebKit/Source/devtools/front_end/main/Tests.js
|
| index 1912f822204a2c93b7b8d8fe9d250716485649df..7ca3377b75a3e93371c5231732b245432157b4fd 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/Tests.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Tests.js
|
| @@ -413,7 +413,9 @@ TestSuite.prototype.testPauseInSharedWorkerInitialization2 = function()
|
|
|
| TestSuite.prototype.enableTouchEmulation = function()
|
| {
|
| - WebInspector.overridesSupport._emulateTouchEventsInTarget(WebInspector.targetManager.mainTarget(), true, "mobile");
|
| + var deviceModeModel = new WebInspector.DeviceModeModel(function() {});
|
| + deviceModeModel._target = WebInspector.targetManager.mainTarget();
|
| + deviceModeModel._applyTouch(true, true);
|
| };
|
|
|
| TestSuite.prototype.switchToPanel = function(panelName)
|
|
|