summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
diff options
context:
space:
mode:
authorcrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 01:29:20 +0000
committercrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-24 01:29:20 +0000
commit48cb7828836301a42855109c822a79c8544614ea (patch)
tree610c43370828b8c3234b6e27974955cd69d21197 /webkit/glue/webpreferences.cc
parente0422e5e5b3b1098ab4f2fb54b7e680ba5fdc76d (diff)
downloadchromium_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 'webkit/glue/webpreferences.cc')
-rw-r--r--webkit/glue/webpreferences.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index cc1965b..c0ff514 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -143,10 +143,8 @@ void WebPreferences::Apply(WebView* web_view) const {
// but also because it cause a possible crash in Editor::hasBidiSelection().
settings->setTextDirectionSubmenuInclusionBehaviorNeverIncluded();
-#ifdef HAS_WEBAUDIO_FEATURE_ENABLE
// Enable the web audio API if requested on the command line.
settings->setWebAudioEnabled(webaudio_enabled);
-#endif
// Enable experimental WebGL support if requested on command line
// and support is compiled in.