Chromium Code Reviews| 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); |
| } |