Index: base/memory/shared_memory_android.cc |
diff --git a/base/memory/shared_memory_android.cc b/base/memory/shared_memory_android.cc |
index 25a65730cb73fb19bd5b039c8c7badaceb8acd0a..5ba1bd6a1018c977a43fc91766870c154bce1bff 100644 |
--- a/base/memory/shared_memory_android.cc |
+++ b/base/memory/shared_memory_android.cc |
@@ -24,7 +24,7 @@ bool SharedMemory::Create(const SharedMemoryCreateOptions& options) { |
// "name" is just a label in ashmem. It is visible in /proc/pid/maps. |
mapped_file_ = ashmem_create_region( |
- options.name == NULL ? "" : options.name->c_str(), |
+ options.name_deprecated == NULL ? "" : options.name_deprecated->c_str(), |
options.size); |
if (-1 == mapped_file_) { |
DLOG(ERROR) << "Shared memory creation failed"; |