Index: content/gpu/gpu_main.cc |
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc |
index 76a6020e0a2a5929f7b865f862c3807111b737b1..23eab12142a26e43135e7b2f95481064fc09a87b 100644 |
--- a/content/gpu/gpu_main.cc |
+++ b/content/gpu/gpu_main.cc |
@@ -47,6 +47,10 @@ |
#include "sandbox/win/src/sandbox.h" |
#endif |
+#if defined(USE_OZONE) |
+#include "ui/ozone/public/ozone_platform.h" |
+#endif |
+ |
#if defined(USE_X11) |
#include "ui/base/x/x11_util.h" |
#endif |
@@ -284,6 +288,10 @@ int GpuMain(const MainFunctionParams& parameters) { |
} |
#endif |
+#if defined(USE_OZONE) |
+ ui::OzonePlatform::InitializeForGPUPostMainLoop(); |
+#endif |
+ |
#if defined(OS_LINUX) |
initialized_gl_context = true; |
#if !defined(OS_CHROMEOS) |