| Index: base/shared_memory_android.cc
|
| diff --git a/base/shared_memory_android.cc b/base/shared_memory_android.cc
|
| index c2f33159f0730ec41f41808062b0ece50a4d7fc9..72c3a5684455e31cf8e309f28ab4b205bfdf31ef 100644
|
| --- a/base/shared_memory_android.cc
|
| +++ b/base/shared_memory_android.cc
|
| @@ -39,9 +39,9 @@ bool SharedMemory::CreateNamed(const std::string& name,
|
| }
|
|
|
| bool SharedMemory::Delete(const std::string& name) {
|
| - // ashmem doesn't support name mapping
|
| - NOTIMPLEMENTED();
|
| - return false;
|
| + // Like on Windows, this is intentionally returning true as ashmem will
|
| + // automatically releases the resource when all FDs on it are closed.
|
| + return true;
|
| }
|
|
|
| bool SharedMemory::Open(const std::string& name, bool read_only) {
|
|
|