Index: media/mojo/services/renderer_config_default.cc |
diff --git a/media/mojo/services/renderer_config_default.cc b/media/mojo/services/renderer_config_default.cc |
index 7cee1a7ac6c35531d6c88d583970f96b2c872888..3b520ef3f3d0d9c951ac3833ae6ebbf978cf0436 100644 |
--- a/media/mojo/services/renderer_config_default.cc |
+++ b/media/mojo/services/renderer_config_default.cc |
@@ -41,12 +41,7 @@ class DummyVideoRendererSink : public VideoRendererSink { |
class DefaultRendererConfig : public PlatformRendererConfig { |
public: |
DefaultRendererConfig() { |
- // TODO(dalecurtis): This will not work if the process is sandboxed... |
- if (!media::IsMediaLibraryInitialized()) { |
- base::FilePath module_dir; |
- CHECK(PathService::Get(base::DIR_EXE, &module_dir)); |
- CHECK(media::InitializeMediaLibrary(module_dir)); |
- } |
+ InitializeMediaLibrary(); |
// TODO(dalecurtis): We should find a single owner per process for the audio |
// manager or make it a lazy instance. It's not safe to call Get()/Create() |