Index: ui/aura/remote_root_window_host_win.cc |
diff --git a/ui/aura/remote_root_window_host_win.cc b/ui/aura/remote_root_window_host_win.cc |
index a91fed4a6a062461dd58fa5a2d07c81178ea0e8e..5628e134aefa7a531cd36646ffdaa2941c2a1a7c 100644 |
--- a/ui/aura/remote_root_window_host_win.cc |
+++ b/ui/aura/remote_root_window_host_win.cc |
@@ -167,6 +167,7 @@ RemoteWindowTreeHostWin::RemoteWindowTreeHostWin(const gfx::Rect& bounds) |
} |
RemoteWindowTreeHostWin::~RemoteWindowTreeHostWin() { |
+ DestroyCompositor(); |
g_instance = NULL; |
} |