Index: ui/aura/root_window_host_ozone.cc |
diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc |
index 9bb2a2bcbd07229d851037c4e0dfec65847568bb..5d17f83521d4eaca964b110d60ec10c5d142f11a 100644 |
--- a/ui/aura/root_window_host_ozone.cc |
+++ b/ui/aura/root_window_host_ozone.cc |
@@ -33,6 +33,7 @@ WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds) |
WindowTreeHostOzone::~WindowTreeHostOzone() { |
base::MessagePumpOzone::Current()->RemoveDispatcherForRootWindow(0); |
+ DestroyCompositor(); |
} |
bool WindowTreeHostOzone::Dispatch(const base::NativeEvent& ne) { |