| Index: base/memory/shared_memory.h
|
| diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
|
| index f791497c5d0aeb3dc3a3a8f0b4f7819005cf80ba..32b5f34a5c1f2cdada2c9775538b76894c5cbb62 100644
|
| --- a/base/memory/shared_memory.h
|
| +++ b/base/memory/shared_memory.h
|
| @@ -91,17 +91,15 @@ class BASE_EXPORT SharedMemory {
|
| // invalid value; NULL for a HANDLE and -1 for a file descriptor)
|
| static bool IsHandleValid(const SharedMemoryHandle& handle);
|
|
|
| - // Returns invalid handle (see comment above for exact definition).
|
| - static SharedMemoryHandle NULLHandle();
|
| -
|
| // Closes a shared memory handle.
|
| static void CloseHandle(const SharedMemoryHandle& handle);
|
|
|
| // Returns the maximum number of handles that can be open at once per process.
|
| static size_t GetHandleLimit();
|
|
|
| - // Duplicates The underlying OS primitive. Returns NULLHandle() on failure.
|
| - // The caller is responsible for destroying the duplicated OS primitive.
|
| + // Duplicates The underlying OS primitive. Returns an invalid handle on
|
| + // failure. The caller is responsible for destroying the duplicated OS
|
| + // primitive.
|
| static SharedMemoryHandle DuplicateHandle(const SharedMemoryHandle& handle);
|
|
|
| #if defined(OS_POSIX)
|
|
|