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

Unified Diff: ui/aura/root_window.cc

Issue 9808010: Keep the mouse cursor within desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 9 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
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index b6db89d2950f7eb34330e67545b2e7b3aa98ce8f..3931c7ca98d7b9b65501de14311950ec2587da8f 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -388,8 +388,6 @@ void RootWindow::SetCapture(Window* window) {
} else {
// When capture is lost, we must reset the event handlers.
mouse_moved_handler_ = NULL;
-
- host_->UnConfineCursor();
}
mouse_pressed_handler_ = NULL;
}

Powered by Google App Engine
This is Rietveld 408576698