Index: content/zygote/zygote_main_linux.cc |
diff --git a/content/zygote/zygote_main_linux.cc b/content/zygote/zygote_main_linux.cc |
index 02beffae8a89ff2488c5be74efc600316fb31f06..cc02cffb22f02b1d8bbe11801312a9de494e08b4 100644 |
--- a/content/zygote/zygote_main_linux.cc |
+++ b/content/zygote/zygote_main_linux.cc |
@@ -36,6 +36,7 @@ |
#include "build/build_config.h" |
#include "content/common/child_process_sandbox_support_impl_linux.h" |
#include "content/common/font_config_ipc_linux.h" |
+#include "content/common/media/cdm_host_files.h" |
#include "content/common/sandbox_linux/sandbox_debug_handling_linux.h" |
#include "content/common/sandbox_linux/sandbox_linux.h" |
#include "content/common/zygote_commands_linux.h" |
@@ -367,6 +368,10 @@ static void ZygotePreSandboxInit() { |
InitializeWebRtcModule(); |
#endif |
+#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
+ CdmHostFiles::CreateGlobalInstance(); |
+#endif |
+ |
SkFontConfigInterface::SetGlobal( |
new FontConfigIPC(GetSandboxFD()))->unref(); |