Index: base/memory/shared_memory.h |
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h |
index 872c38a4798a44a3a67f2200a581b2fbde48310d..c4b4cdb64430d6fd4869711b3a000c8b8dcf7e8f 100644 |
--- a/base/memory/shared_memory.h |
+++ b/base/memory/shared_memory.h |
@@ -127,14 +127,6 @@ class BASE_EXPORT SharedMemory { |
static int GetFdFromSharedMemoryHandle(const SharedMemoryHandle& handle); |
#endif |
-#if defined(OS_POSIX) && !defined(OS_ANDROID) |
- // Gets the size of the shared memory region referred to by |handle|. |
- // Returns false on a failure to determine the size. On success, populates the |
- // output variable |size|. |
- static bool GetSizeFromSharedMemoryHandle(const SharedMemoryHandle& handle, |
- size_t* size); |
-#endif // defined(OS_POSIX) && !defined(OS_ANDROID) |
- |
// Creates a shared memory object as described by the options struct. |
// Returns true on success and false on failure. |
bool Create(const SharedMemoryCreateOptions& options); |