Index: content/browser/ppapi_plugin_process_host.cc |
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc |
index 7b541e7b6528313fca6fca9e57c999326d691653..cb1a812055c06366c13b8bfe7adbe1ad73846b79 100644 |
--- a/content/browser/ppapi_plugin_process_host.cc |
+++ b/content/browser/ppapi_plugin_process_host.cc |
@@ -33,6 +33,7 @@ |
#include "content/public/common/sandbox_type.h" |
#include "content/public/common/sandboxed_process_launcher_delegate.h" |
#include "content/public/common/service_names.mojom.h" |
+#include "media/base/media_switches.h" |
#include "mojo/edk/embedder/embedder.h" |
#include "net/base/network_change_notifier.h" |
#include "ppapi/proxy/ppapi_messages.h" |
@@ -399,6 +400,8 @@ bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) { |
#if defined(OS_MACOSX) |
switches::kEnableSandboxLogging, |
#endif |
+ // Need to tell CdmHostFile(s) to ignore missing CDM host files in tests. |
+ switches::kIgnoreMissingCdmHostFile, |
switches::kNoSandbox, |
switches::kPpapiStartupDialog, |
}; |