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

Unified Diff: ui/ozone/platform/drm/ozone_platform_gbm.cc

Issue 2844023002: Ozone DRM: Destroy MusThreadProxy last. (Closed)
Patch Set: Created 3 years, 8 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 | « ui/ozone/platform/drm/host/drm_display_host_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/ozone_platform_gbm.cc
diff --git a/ui/ozone/platform/drm/ozone_platform_gbm.cc b/ui/ozone/platform/drm/ozone_platform_gbm.cc
index 58c83ab4e7c7ede2f17d71fdda05b5e204aa8844..f94f1c8e983f888829a8cd808c4a7b995f030400 100644
--- a/ui/ozone/platform/drm/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/drm/ozone_platform_gbm.cc
@@ -239,6 +239,9 @@ class OzonePlatformGbm
bool using_mojo_;
bool single_process_;
+ // Bridges the DRM, GPU and main threads in mus. This must be destroyed last.
+ std::unique_ptr<MusThreadProxy> mus_thread_proxy_;
+
// Objects in the GPU process.
std::unique_ptr<DrmThreadProxy> drm_thread_proxy_;
std::unique_ptr<GlApiLoader> gl_api_loader_;
@@ -257,9 +260,6 @@ class OzonePlatformGbm
std::unique_ptr<DrmDisplayHostManager> display_manager_;
std::unique_ptr<DrmOverlayManager> overlay_manager_;
- // Bridges the DRM, GPU and main threads in mus.
- std::unique_ptr<MusThreadProxy> mus_thread_proxy_;
-
#if BUILDFLAG(USE_XKBCOMMON)
XkbEvdevCodes xkb_evdev_code_converter_;
#endif
« no previous file with comments | « ui/ozone/platform/drm/host/drm_display_host_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698