Index: ash/display/display_controller.cc |
diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc |
index 7a3b6f9959daef8f7b0067eec767a425a89924be..d2cf71c8beb554e0affef234f604e47de119121a 100644 |
--- a/ash/display/display_controller.cc |
+++ b/ash/display/display_controller.cc |
@@ -536,7 +536,7 @@ void DisplayController::SetPrimaryDisplay( |
GetDisplayManager()->set_force_bounds_changed(false); |
} |
-void DisplayController::EnsurePointerInDisplays() { |
+void DisplayController::UpdateMouseLocationAfterDisplayChange() { |
pkotwicz
2015/02/24 18:38:08
I renamed this method because you mentioned in htt
|
// If the mouse is currently on a display in native location, |
// use the same native location. Otherwise find the display closest |
// to the current cursor location in screen coordinates. |
@@ -751,7 +751,7 @@ void DisplayController::PostDisplayConfigurationChange() { |
} |
FOR_EACH_OBSERVER(Observer, observers_, OnDisplayConfigurationChanged()); |
UpdateHostWindowNames(); |
- EnsurePointerInDisplays(); |
+ UpdateMouseLocationAfterDisplayChange(); |
} |
AshWindowTreeHost* DisplayController::AddWindowTreeHostForDisplay( |