Chromium Code Reviews| Index: base/memory/shared_memory_handle.h |
| diff --git a/base/memory/shared_memory_handle.h b/base/memory/shared_memory_handle.h |
| index 228e8216c9f39354b8f978361b8a28722e32faa2..b293054ee86c5e00029430a50edc61429c82a2b2 100644 |
| --- a/base/memory/shared_memory_handle.h |
| +++ b/base/memory/shared_memory_handle.h |
| @@ -56,7 +56,9 @@ class BASE_EXPORT SharedMemoryHandle { |
| // Whether the underlying OS resource is valid. |
| bool IsValid() const; |
| - // Duplicates the underlying OS resource. |
| + // Duplicates the underlying OS resource. Using the return value as a |
| + // parameter to an IPC message will cause the IPC subsystem to consume the OS |
|
Nico
2017/05/02 20:08:00
Feels like a bit strange place to document this (I
|
| + // resource. |
| SharedMemoryHandle Duplicate() const; |
| #if defined(OS_MACOSX) && !defined(OS_IOS) |