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

Unified Diff: ui/aura/env.cc

Issue 2795503002: mash: Don't synthesize extra key press events in the window server (Closed)
Patch Set: remove InputMethodBridge workaround 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 | « services/ui/ws/platform_display_delegate.h ('k') | ui/ozone/public/ozone_platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index 115f7e5f18809bec56953dc354c0659d54fff79e..62475fd627e83a7bcc9ea7444cb3855ab45d4aba 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -49,6 +49,11 @@ Env::~Env() {
for (EnvObserver& observer : observers_)
observer.OnWillDestroyEnv();
+
+#if defined(USE_OZONE)
+ ui::OzonePlatform::Shutdown();
+#endif
+
DCHECK_EQ(this, lazy_tls_ptr.Pointer()->Get());
lazy_tls_ptr.Pointer()->Set(NULL);
}
« no previous file with comments | « services/ui/ws/platform_display_delegate.h ('k') | ui/ozone/public/ozone_platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698