Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: ash/display/mouse_cursor_event_filter.cc

Issue 294073006: Remove dispatcher when shutting down RootWindowController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/display/screen_ash.cc » ('j') | ash/display/screen_ash.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | ash/display/screen_ash.cc » ('j') | ash/display/screen_ash.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698