Index: ash/display/mouse_cursor_event_filter.cc |
diff --git a/ash/display/mouse_cursor_event_filter.cc b/ash/display/mouse_cursor_event_filter.cc |
index ba770452aad02c93a02ee1ce85a373b726550b82..515461d4061ff59d5708005117b265cbc7cb36fc 100644 |
--- a/ash/display/mouse_cursor_event_filter.cc |
+++ b/ash/display/mouse_cursor_event_filter.cc |
@@ -210,13 +210,6 @@ void MouseCursorEventFilter::OnDisplayConfigurationChanged() { |
void MouseCursorEventFilter::OnMouseEvent(ui::MouseEvent* event) { |
aura::Window* target = static_cast<aura::Window*>(event->target()); |
- RootWindowController* rwc = GetRootWindowController(target->GetRootWindow()); |
- // The root window controller is removed during the shutting down |
- // RootWindow, so don't process events futher. |
- if (!rwc) { |
- event->StopPropagation(); |
- return; |
- } |
if (event->type() == ui::ET_MOUSE_PRESSED) { |
scale_when_drag_started_ = ui::GetDeviceScaleFactor(target->layer()); |