| Index: third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| diff --git a/third_party/WebKit/Source/web/DevToolsEmulator.cpp b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| index 65527e56ad5d310e46ec8ec76ea516648561ba8c..129daedb4c33561e5cdc14beb313bc5f8bcc65d5 100644
|
| --- a/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| +++ b/third_party/WebKit/Source/web/DevToolsEmulator.cpp
|
| @@ -446,7 +446,7 @@ void DevToolsEmulator::setTouchEventEmulationEnabled(bool enabled) {
|
| if (m_touchEventEmulationEnabled == enabled)
|
| return;
|
| if (!m_touchEventEmulationEnabled) {
|
| - m_originalTouchEnabled = RuntimeEnabledFeatures::touchEnabled();
|
| + m_originalTouchEnabled = RuntimeEnabledFeatures::touchAPIEnabled();
|
| m_originalDeviceSupportsMouse =
|
| m_webViewImpl->page()->settings().deviceSupportsMouse();
|
| m_originalDeviceSupportsTouch =
|
| @@ -454,8 +454,8 @@ void DevToolsEmulator::setTouchEventEmulationEnabled(bool enabled) {
|
| m_originalMaxTouchPoints =
|
| m_webViewImpl->page()->settings().maxTouchPoints();
|
| }
|
| - RuntimeEnabledFeatures::setTouchEnabled(enabled ? true
|
| - : m_originalTouchEnabled);
|
| + /*RuntimeEnabledFeatures::setTouchEnabled(enabled ? true
|
| + : m_originalTouchEnabled);*/
|
| if (!m_originalDeviceSupportsTouch) {
|
| m_webViewImpl->page()->settings().setDeviceSupportsMouse(
|
| enabled ? false : m_originalDeviceSupportsMouse);
|
|
|