Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index 8fe83ef22aecb4e4fed99ef56e28d4623f6f89c5..b74e5c9e4824a3b991ff999b808f7ee2f3e76497 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -646,10 +646,7 @@ void RenderThreadImpl::Init() { |
// Note that under Linux, the media library will normally already have |
// been initialized by the Zygote before this instance became a Renderer. |
- base::FilePath media_path; |
- PathService::Get(DIR_MEDIA_LIBS, &media_path); |
- if (!media_path.empty()) |
- media::InitializeMediaLibrary(media_path); |
+ media::InitializeMediaLibrary(); |
memory_pressure_listener_.reset(new base::MemoryPressureListener( |
base::Bind(&RenderThreadImpl::OnMemoryPressure, base::Unretained(this)))); |
@@ -1106,10 +1103,6 @@ void RenderThreadImpl::EnsureWebKitInitialized() { |
EnableBlinkPlatformLogChannels( |
command_line.GetSwitchValueASCII(switches::kBlinkPlatformLogChannels)); |
- if (!media::IsMediaLibraryInitialized()) { |
- WebRuntimeFeatures::enableWebAudio(false); |
- } |
- |
RenderMediaClient::Initialize(); |
FOR_EACH_OBSERVER(RenderProcessObserver, observers_, WebKitInitialized()); |