Index: base/memory/shared_memory_helper.cc |
diff --git a/base/memory/shared_memory_helper.cc b/base/memory/shared_memory_helper.cc |
index 7fbfb7afad5ce5dcc1c73eac497904987c29be05..f13e3fb052690c112df3fd3af76ea7f6c7a2d049 100644 |
--- a/base/memory/shared_memory_helper.cc |
+++ b/base/memory/shared_memory_helper.cc |
@@ -48,7 +48,7 @@ bool CreateAnonymousSharedMemory(const SharedMemoryCreateOptions& options, |
path_unlinker.reset(path); |
if (options.share_read_only) { |
- // Also open as readonly so that we can ShareReadOnlyToProcess. |
+ // Also open as readonly so that we can GetReadOnlyHandle. |
readonly_fd->reset(HANDLE_EINTR(open(path->value().c_str(), O_RDONLY))); |
if (!readonly_fd->is_valid()) { |
DPLOG(ERROR) << "open(\"" << path->value() << "\", O_RDONLY) failed"; |