DescriptionExposing the Close() method publicly in the ScopedHandle class.
This is to be more consistent with the interface defined in scoped_handle.h (ScopedStdioHandle)
and also to avoid making the user make an explicit, Windows
specific call to close the handle
The recommendation is currently to do
::CloseHandle(h.Take());
which is less portable.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6883
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|