Index: content/browser/renderer_host/render_view_host_impl.cc |
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc |
index a51fa198d876c3bb60fac511c9fd277f022276a7..2ce296a4ad8aa33b4f3e0b79c2a57b2673b9deeb 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.cc |
+++ b/content/browser/renderer_host/render_view_host_impl.cc |
@@ -345,8 +345,13 @@ WebPreferences RenderViewHostImpl::GetWebkitPrefs(const GURL& url) { |
!command_line.HasSwitch(switches::kDisableLocalStorage); |
prefs.databases_enabled = |
!command_line.HasSwitch(switches::kDisableDatabases); |
+#if defined(OS_ANDROID) && defined(ARCH_CPU_X86) |
+ prefs.webaudio_enabled = |
+ command_line.HasSwitch(switches::kEnableWebAudio); |
+#else |
prefs.webaudio_enabled = |
!command_line.HasSwitch(switches::kDisableWebAudio); |
+#endif |
prefs.experimental_webgl_enabled = |
GpuProcessHost::gpu_enabled() && |