Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2779)

Unified Diff: content/renderer/render_thread.cc

Issue 7272006: Enable Web Audio API by default (no longer needs enable flag). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« content/common/content_switches.cc ('K') | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread.cc
===================================================================
--- content/renderer/render_thread.cc (revision 90616)
+++ content/renderer/render_thread.cc (working copy)
@@ -597,8 +597,13 @@
WebKit::WebRuntimeFeatures::enableMediaStream(
command_line.HasSwitch(switches::kEnableMediaStream));
+#if defined(OS_CHROMEOS)
+ // TODO(crogers): enable once Web Audio has been tested and optimized.
+ WebRuntimeFeatures::enableWebAudio(false);
+#else
WebRuntimeFeatures::enableWebAudio(
- command_line.HasSwitch(switches::kEnableWebAudio));
+ !command_line.HasSwitch(switches::kDisableWebAudio));
+#endif
WebRuntimeFeatures::enablePushState(true);
« content/common/content_switches.cc ('K') | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698