Index: components/html_viewer/media_factory.cc |
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc |
index 101015a80c218bc025c5a0fad1fdad863e5ec2a5..29a153bcdb920372431b29e62ce52283f9d09e67 100644 |
--- a/components/html_viewer/media_factory.cc |
+++ b/components/html_viewer/media_factory.cc |
@@ -88,11 +88,7 @@ MediaFactory::MediaFactory( |
->HasSwitch(kEnableMojoMediaRenderer)), |
compositor_task_runner_(compositor_task_runner), |
shell_(shell) { |
- if (!media::IsMediaLibraryInitialized()) { |
- base::FilePath module_dir; |
- CHECK(PathService::Get(base::DIR_EXE, &module_dir)); |
- CHECK(media::InitializeMediaLibrary(module_dir)); |
- } |
+ media::InitializeMediaLibrary(); |
} |
MediaFactory::~MediaFactory() { |