Index: base/platform_file_win.cc |
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc |
index f448db065a7be5be284d95b9ad9df6fb2001de16..83740420e2b11fcfd17dc2b87e5012b2d581dc3b 100644 |
--- a/base/platform_file_win.cc |
+++ b/base/platform_file_win.cc |
@@ -58,6 +58,8 @@ PlatformFile CreatePlatformFile(const FilePath& name, |
DWORD sharing = (flags & PLATFORM_FILE_EXCLUSIVE_READ) ? 0 : FILE_SHARE_READ; |
if (!(flags & PLATFORM_FILE_EXCLUSIVE_WRITE)) |
sharing |= FILE_SHARE_WRITE; |
+ if (flags & PLATFORM_FILE_SHARE_DELETE) |
+ sharing |= FILE_SHARE_DELETE; |
DWORD create_flags = 0; |
if (flags & PLATFORM_FILE_ASYNC) |