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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

Issue 375593002: Do not set the mouse event handler if Widget::SetCapture() fails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/views/widget/desktop_aura/desktop_window_tree_host_win.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index 5c03e63b9dacfb6ea7c558beb5ff6fe1f7fcd3d1..c87979273f51eb7a6a4ecadd3431873d299b8bee 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -685,7 +685,6 @@ void DesktopWindowTreeHostWin::HandleCancelMode() {
void DesktopWindowTreeHostWin::HandleCaptureLost() {
OnHostLostWindowCapture();
- native_widget_delegate_->OnMouseCaptureLost();
}
void DesktopWindowTreeHostWin::HandleClose() {

Powered by Google App Engine
This is Rietveld 408576698