DescriptionPNaCl cleanup: Reuse base::File for closing a handle/FD
This removes a dependency on the NACL_WINDOWS macro, which is defined
in non-public native_client headers.
It also gets the benefit of the error-checking that base/ does for
close()/CloseHandle().
BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=2832
TEST=e.g. NaClBrowserTestPnacl.PPAPICore (tests PNaCl translation)
Committed: https://crrev.com/a751ae0a7ecea5856b4e2071e66a829e835111fc
Cr-Commit-Position: refs/heads/master@{#371692}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|