Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
index 08b9a04dd0eb66b081d98c007ee0152f135bd1f7..300423be4ba4714aea87cdde1bd368cfaeedbe72 100644 |
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp |
@@ -156,12 +156,18 @@ bool WebRuntimeFeatures::isWebAudioEnabled() |
void WebRuntimeFeatures::enableTouch(bool enable) |
{ |
+#if ENABLE(TOUCH_EVENTS) |
RuntimeEnabledFeatures::setTouchEnabled(enable); |
+#endif |
} |
bool WebRuntimeFeatures::isTouchEnabled() |
{ |
+#if ENABLE(TOUCH_EVENTS) |
return RuntimeEnabledFeatures::touchEnabled(); |
+#else |
+ return false; |
+#endif |
} |
void WebRuntimeFeatures::enableDeviceMotion(bool enable) |