Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 1043233003: ozone: Add post message loop initialization hook (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | ui/ozone/public/ozone_platform.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index 6c34189e334166b8297297a0a191bc66ba09a3b8..3a8fdb2a1c989a3da84943e5ffc9724f0df9b7c7 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -97,6 +97,9 @@ GpuChildThread::GpuChildThread(const InProcessChildThreadParams& params)
if (!gfx::GLSurface::InitializeOneOff())
VLOG(1) << "gfx::GLSurface::InitializeOneOff failed";
#endif
+#if defined(USE_OZONE)
+ ui::OzonePlatform::InitializeForGPUPostMainLoop();
+#endif
g_thread_safe_sender.Get() = thread_safe_sender();
}
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | ui/ozone/public/ozone_platform.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698