DescriptionCheck for CloseHandle failures even when not debugging
Bug 524267 was a handle closing failure that only showed up when running
renderer processes under a debugger at startup, so it was not discovered
for a while. This change checks for handle closing failures always so
that subsequent bugs of this type will be detected immediately.
A DCHECK is used rather than a CHECK because this checks all in-process
calls to CloseHandle and will therefore trigger on any buggy third-party
DLL injections and we don't want that happening on customer machines.
Checking at individual call sites would necessarily give only partial
coverage because there are hundreds of CloseHandle call sites.
R=grt@chromium.org
BUG=524267
Patch Set 1 #
Total comments: 2
Patch Set 2 : DPCHECK instead of DCHECK #
Total comments: 1
Messages
Total messages: 11 (1 generated)
|