Index: content/common/sandbox_mac.mm |
diff --git a/content/common/sandbox_mac.mm b/content/common/sandbox_mac.mm |
index 118919f20a3491f284216ff8d945b7889bf4b665..42cee8e00faeac2f2514a72f7e004615beafdb0f 100644 |
--- a/content/common/sandbox_mac.mm |
+++ b/content/common/sandbox_mac.mm |
@@ -31,6 +31,7 @@ extern "C" { |
#include "base/strings/sys_string_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/sys_info.h" |
+#include "content/common/gpu/media/vt_video_decode_accelerator.h" |
#include "content/grit/content_resources.h" |
#include "content/public/common/content_client.h" |
#include "content/public/common/content_switches.h" |
@@ -323,6 +324,9 @@ void Sandbox::SandboxWarmup(int sandbox_type) { |
// Preload either the desktop GL or the osmesa so, depending on the |
// --use-gl flag. |
gfx::GLSurface::InitializeOneOff(); |
+ |
+ // Preload VideoToolbox. |
+ InitializeVideoToolbox(); |
} |
if (sandbox_type == SANDBOX_TYPE_PPAPI) { |