Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index 3d0981f5bcb36cc8d92388b9564351a6525ab6ba..7662cfeef1e88031c1a79fdcd00c46b26434b300 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -201,6 +201,12 @@ void RootWindow::HideRootWindow() { |
host_->Hide(); |
} |
+void RootWindow::PrepareForShutdown() { |
+ host_->PrepareForShutdown(); |
+ // discard synthesize event request as well. |
+ synthesize_mouse_move_ = false; |
+} |
+ |
RootWindowHostDelegate* RootWindow::AsRootWindowHostDelegate() { |
return this; |
} |