diff options
Diffstat (limited to 'ash/wm/root_window_layout_manager.cc')
-rw-r--r-- | ash/wm/root_window_layout_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/wm/root_window_layout_manager.cc b/ash/wm/root_window_layout_manager.cc index 55acb16..56013f6 100644 --- a/ash/wm/root_window_layout_manager.cc +++ b/ash/wm/root_window_layout_manager.cc @@ -25,8 +25,9 @@ RootWindowLayoutManager::~RootWindowLayoutManager() { void RootWindowLayoutManager::SetBackgroundWidget(views::Widget* widget) { if (widget == background_widget_) return; + // Close now so that the focus manager will be deleted before shutdown. if (background_widget_) - background_widget_->Close(); + background_widget_->CloseNow(); background_widget_ = widget; } |