DescriptionUse SharedMemoryHandle instead ScopedHandle as ivar for SharedMemory
Only Windows was using ScopedHandle. Other platforms already used a
SharedMemoryHandle directly. The theoretical benefit of ScopedHandle is that it
correctly deals with ownership. But all that does is ensure that the handle is
closed during destruction of SharedMemory, which is already explicitly coded,
since it's needed on all platforms. Switching to SharedMemoryHandle is needed to
correctly propagate other state on SharedMemoryHandle, which is being added in
the near future.
BUG=713763
Review-Url: https://codereview.chromium.org/2854833004
Cr-Commit-Position: refs/heads/master@{#469179}
Committed: https://chromium.googlesource.com/chromium/src/+/3df1dd51204370d6289ce46252d3c416c272447e
Patch Set 1 #Patch Set 2 : Rebase. #Patch Set 3 : Rebase. #
Total comments: 1
Patch Set 4 : Compile fix + Rebase. #Patch Set 5 : Windows compile error. #Patch Set 6 : clean up #Patch Set 7 : close should be idempotent. #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 35 (27 generated)
|