Index: ash/magnifier/magnification_controller.cc |
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc |
index 8aa40a50876f5459fd38ac2670e82e6a26af694b..c17dbc564ecad8df2c189bf70d73ef1d3196f381 100644 |
--- a/ash/magnifier/magnification_controller.cc |
+++ b/ash/magnifier/magnification_controller.cc |
@@ -554,7 +554,8 @@ void MagnificationControllerImpl::OnMouseEvent(ui::MouseEvent* event) { |
if (root_bounds.Contains(event->root_location())) { |
// This must be before |SwitchTargetRootWindow()|. |
- point_of_interest_ = event->root_location(); |
+ if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) |
+ point_of_interest_ = event->root_location(); |
if (current_root != root_window_) { |
DCHECK(current_root); |