diff options
author | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 01:29:20 +0000 |
---|---|---|
committer | crogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 01:29:20 +0000 |
commit | 48cb7828836301a42855109c822a79c8544614ea (patch) | |
tree | 610c43370828b8c3234b6e27974955cd69d21197 /chrome/renderer | |
parent | e0422e5e5b3b1098ab4f2fb54b7e680ba5fdc76d (diff) | |
download | chromium_src-48cb7828836301a42855109c822a79c8544614ea.zip chromium_src-48cb7828836301a42855109c822a79c8544614ea.tar.gz chromium_src-48cb7828836301a42855109c822a79c8544614ea.tar.bz2 |
Conditionally add compile-time enable for the web audio API only on Mac OS X
This is effectively a pared-down version of the already reviewed:
http://codereview.chromium.org/6308014/
BUG=none
TEST=none
(tested locally for Mac OS X which is the only platform this affects)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/render_thread.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index cb78d4f..a80fc7bd 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -937,10 +937,8 @@ void RenderThread::EnsureWebKitInitialized() { WebRuntimeFeatures::enableGeolocation( !command_line.HasSwitch(switches::kDisableGeolocation)); -#ifdef HAS_WEBAUDIO_RUNTIMEFEATURES WebRuntimeFeatures::enableWebAudio( command_line.HasSwitch(switches::kEnableWebAudio)); -#endif WebRuntimeFeatures::enableWebGL( !command_line.HasSwitch(switches::kDisable3DAPIs) && |