Several small changes to base::SharedMemory.
commit2096f624841f5c4c3a54163178ee0e6e2caacdcf
authorerikchen <erikchen@chromium.org>
Wed, 3 Jun 2015 00:26:59 +0000 (2 17:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 00:27:22 +0000 (3 00:27 +0000)
tree3afa552c621547b7cefae559e8d7bffefda6c556
parent6bb8de49e503e4b53e7822418e682ade926c070f
Several small changes to base::SharedMemory.

- Removed ShallowCopyHandle().
- Renamed DeepCopyHandle() -> DuplicateHandle().
- Changed the signature of DuplicateHandle() to not accept
  |clean_up_resources_on_destruction|. (The flag has no effect on
  base::SharedMemory).
- Defined DuplicateHandle() on Win, POSIX, and Nacl.

BUG=466437

Review URL: https://codereview.chromium.org/1160503004

Cr-Commit-Position: refs/heads/master@{#332506}
base/memory/shared_memory.h
base/memory/shared_memory_nacl.cc
base/memory/shared_memory_posix.cc
base/memory/shared_memory_win.cc
content/renderer/npapi/webplugin_delegate_proxy.cc
content/renderer/pepper/pepper_compositor_host.cc
gpu/command_buffer/service/in_process_command_buffer.cc