Commit 1246658b authored by scottmg@google.com's avatar scottmg@google.com

Revert 134823 - Enable gamepad API by default

Turning on by default before M20 branch, but leaving flag code for now so that
it's just a one-liner to disable if necessary post-branch.

BUG=118552,112879

Review URL: http://codereview.chromium.org/10281003

TBR=scottmg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10310173

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137239 0039d316-1c4b-4281-b951-d872f2087c98
parent 08381564
......@@ -571,7 +571,8 @@ void RenderThreadImpl::EnsureWebKitInitialized() {
WebRuntimeFeatures::enableJavaScriptI18NAPI(
!command_line.HasSwitch(switches::kDisableJavaScriptI18NAPI));
WebRuntimeFeatures::enableGamepad(true);
WebRuntimeFeatures::enableGamepad(
command_line.HasSwitch(switches::kEnableGamepad));
WebRuntimeFeatures::enableQuota(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment