Index: base/memory/discardable_shared_memory.h |
diff --git a/base/memory/discardable_shared_memory.h b/base/memory/discardable_shared_memory.h |
index b391ef1541b0b2ceed1224987d216d9317bc90ba..ba3e16a465573965a4bd465b9e42178414ba8051 100644 |
--- a/base/memory/discardable_shared_memory.h |
+++ b/base/memory/discardable_shared_memory.h |
@@ -123,16 +123,6 @@ class BASE_EXPORT DiscardableSharedMemory { |
// It is safe to call Close repeatedly. |
void Close(); |
- // Shares the discardable memory segment to another process. Attempts to |
- // create a platform-specific |new_handle| which can be used in a remote |
- // process to access the discardable memory segment. |new_handle| is an |
- // output parameter to receive the handle for use in the remote process. |
- // Returns true on success, false otherwise. |
- bool ShareToProcess(ProcessHandle process_handle, |
- SharedMemoryHandle* new_handle) { |
- return shared_memory_.ShareToProcess(process_handle, new_handle); |
- } |
- |
private: |
// Virtual for tests. |
virtual Time Now() const; |