summaryrefslogtreecommitdiffstats
path: root/webkit/tools
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 10:03:09 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 10:03:09 +0000
commit3b6660d8313d8db26832e62e0b2be7eac4c9b591 (patch)
tree325c81f6f288574ca7352bae95af62005977759a /webkit/tools
parent50e0f67b990d19426440550f2a4676dd4603b07d (diff)
downloadchromium_src-3b6660d8313d8db26832e62e0b2be7eac4c9b591.zip
chromium_src-3b6660d8313d8db26832e62e0b2be7eac4c9b591.tar.gz
chromium_src-3b6660d8313d8db26832e62e0b2be7eac4c9b591.tar.bz2
Disable device motion in test shell.
Review URL: http://codereview.chromium.org/3098005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r--webkit/tools/test_shell/test_shell_webkit_init.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_webkit_init.cc b/webkit/tools/test_shell/test_shell_webkit_init.cc
index aba2c8b..538e54a 100644
--- a/webkit/tools/test_shell/test_shell_webkit_init.cc
+++ b/webkit/tools/test_shell/test_shell_webkit_init.cc
@@ -45,6 +45,7 @@ TestShellWebKitInit::TestShellWebKitInit(bool layout_test_mode) {
WebKit::WebRuntimeFeatures::enableSpeechInput(true);
// TODO(hwennborg): Enable this once the implementation supports it.
+ WebKit::WebRuntimeFeatures::enableDeviceMotion(false);
WebKit::WebRuntimeFeatures::enableDeviceOrientation(false);
// Load libraries for media and enable the media player.