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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 284313016: Fix HWNDMessageHandler::OnSetCursor handling of HTERROR. (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index ca66913aa0741f39d5914a20b526f9a81528f71d..b36aa7207bb3f431c2a83bb5d49b4f101478d5e1 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -1941,6 +1941,9 @@ LRESULT HWNDMessageHandler::OnSetCursor(UINT message,
case HTCLIENT:
SetCursor(current_cursor_);
return 1;
+ case LOWORD(HTERROR): // Use HTERROR's LOWORD value for valid comparison.
+ SetMsgHandled(FALSE);
+ break;
default:
// Use the default value, IDC_ARROW.
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698