DescriptionFixed detection of WS_OVERLAPPED windows, bug introduced in change 6561311.
WS_OVERLAPPED is not a flag, it is zero. Code was added that detects it
as a flag, using '&'. This bug was detected by VC++'s /analyze, giving
this warning:
src\ui\views\win\hwnd_message_handler.cc(874) : warning C6313:
Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
BUG=427616
Committed: https://crrev.com/26b57c28c3d5d0b540095a0e081bf303163ea76b
Cr-Commit-Position: refs/heads/master@{#302880}
Patch Set 1 #
Messages
Total messages: 12 (4 generated)
|