Index: ash/wm/root_window_layout_manager.cc |
diff --git a/ash/wm/root_window_layout_manager.cc b/ash/wm/root_window_layout_manager.cc |
index 282dbed08dd7f59744d8b98fd1e90463b83d498f..65b71f44b9bd692ac5d99b298c92a279af889724 100644 |
--- a/ash/wm/root_window_layout_manager.cc |
+++ b/ash/wm/root_window_layout_manager.cc |
@@ -6,7 +6,6 @@ |
#include "ash/desktop_background/desktop_background_widget_controller.h" |
#include "ash/root_window_controller.h" |
-#include "ash/root_window_settings.h" |
#include "ui/aura/window_event_dispatcher.h" |
#include "ui/compositor/layer.h" |
#include "ui/views/widget/widget.h" |
@@ -28,10 +27,6 @@ RootWindowLayoutManager::~RootWindowLayoutManager() { |
// RootWindowLayoutManager, aura::LayoutManager implementation: |
void RootWindowLayoutManager::OnWindowResized() { |
- // X event may arrive during shutdown. |
- if (GetRootWindowSettings(owner_->GetRootWindow())->shutdown) |
- return; |
- |
gfx::Rect fullscreen_bounds = |
gfx::Rect(owner_->bounds().width(), owner_->bounds().height()); |