summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorcrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-23 23:31:44 +0000
committercrogers@google.com <crogers@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-23 23:31:44 +0000
commit9ed3854e0d663b2b262c7ebb64e2cfcaeac8d09e (patch)
tree7c83ef5d75ba7322d91a9e50a8979e79a9c6bb12 /webkit
parentb337cb5b37425474f1caf185acd159b9dc5436c7 (diff)
downloadchromium_src-9ed3854e0d663b2b262c7ebb64e2cfcaeac8d09e.zip
chromium_src-9ed3854e0d663b2b262c7ebb64e2cfcaeac8d09e.tar.gz
chromium_src-9ed3854e0d663b2b262c7ebb64e2cfcaeac8d09e.tar.bz2
Conditionally add compile-time enable for web audio API on Mac OS X
This is a more limited version of the patch already reviewed here: http://codereview.chromium.org/6308014/ BUG=none TEST=none (tested locally on Mac OS X to verify build and that the feature could be enabled) Review URL: http://codereview.chromium.org/6388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72306 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-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.