Index: base/platform_file_posix.cc |
diff --git a/base/platform_file_posix.cc b/base/platform_file_posix.cc |
index 9b1ce17b7b9762148b13dba286fa87801e00012b..1d8ef4c6ecd1c797e885ba5eac77b9fd58454ec5 100644 |
--- a/base/platform_file_posix.cc |
+++ b/base/platform_file_posix.cc |
@@ -52,8 +52,7 @@ PlatformFile CreatePlatformFile(const FilePath& name, int flags, |
if (flags & PLATFORM_FILE_WRITE && flags & PLATFORM_FILE_READ) { |
open_flags |= O_RDWR; |
- } else if (flags & PLATFORM_FILE_WRITE || |
- flags & PLATFORM_FILE_WRITE_ATTRIBUTES) { |
+ } else if (flags & PLATFORM_FILE_WRITE) { |
open_flags |= O_WRONLY; |
} else if (!(flags & PLATFORM_FILE_READ)) { |
NOTREACHED(); |