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 3c67457a6421cc56b0e54216f30d30cdc39db1a3..4f9ad05241a7b18d9d93f493d1c6567bb57c47e5 100644 |
--- a/ui/views/win/hwnd_message_handler.cc |
+++ b/ui/views/win/hwnd_message_handler.cc |
@@ -1658,8 +1658,8 @@ LRESULT HWNDMessageHandler::OnPointerActivate(UINT message, |
LRESULT HWNDMessageHandler::OnPointerEvent(UINT message, |
WPARAM w_param, |
LPARAM l_param) { |
- // WM_POINTER is not supported on Windows 7 or lower. |
- if (base::win::GetVersion() <= base::win::VERSION_WIN7) { |
+ // WM_POINTER is not supported on Windows 7. |
+ if (base::win::GetVersion() == base::win::VERSION_WIN7) { |
SetMsgHandled(FALSE); |
return -1; |
} |