Index: base/memory/shared_memory_posix.cc |
diff --git a/base/memory/shared_memory_posix.cc b/base/memory/shared_memory_posix.cc |
index 2be787d75331d708f9f125ba995f6c42b3691325..93e0b76fa2ccc5e625ca53d48b3061ecbd0ff73e 100644 |
--- a/base/memory/shared_memory_posix.cc |
+++ b/base/memory/shared_memory_posix.cc |
@@ -236,9 +236,8 @@ bool SharedMemory::Delete(const std::string& name) { |
if (!FilePathForMemoryName(name, &path)) |
return false; |
- if (file_util::PathExists(path)) { |
+ if (PathExists(path)) |
return base::Delete(path, false); |
- } |
// Doesn't exist, so success. |
return true; |