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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 79193003: Enable WebAudio support on Android/x86. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 90b14e69213d3247a946d2e19b02f5af37b2f617..b1bcfd0874599b83ab0b06946b7f33895cb8aee3 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -969,7 +969,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kDisableUnprefixedMediaSource,
switches::kDisableVp8AlphaPlayback,
switches::kDisableWebAnimationsCSS,
- switches::kDisableWebAudio,
switches::kDisableWebKitMediaSource,
switches::kDomAutomationController,
switches::kEnableAcceleratedFixedRootBackground,
@@ -1125,6 +1124,13 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kMediaDrmEnableNonCompositing,
switches::kNetworkCountryIso,
#endif
+#if defined(OS_ANDROID) && defined(ARCH_CPU_X86)
+ switches::kEnableWebAudio,
+#else
+ // Need to be able to disable webaudio on other platforms where it
+ // is enabled by default.
+ switches::kDisableWebAudio,
+#endif
#if defined(OS_MACOSX)
// Allow this to be set when invoking the browser and relayed along.
switches::kEnableSandboxLogging,
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698