Index: base/files/file_util_unittest.cc |
diff --git a/base/files/file_util_unittest.cc b/base/files/file_util_unittest.cc |
index 4b95dbb4bdf7455aeac3abde84b168fcee0b5c95..933cb7f46e5c370c4fe2e8601d9e80184ce8f3bb 100644 |
--- a/base/files/file_util_unittest.cc |
+++ b/base/files/file_util_unittest.cc |
@@ -134,7 +134,7 @@ class ReparsePoint { |
ReparsePoint(const FilePath& source, const FilePath& target) { |
dir_.Set( |
::CreateFile(source.value().c_str(), |
- FILE_ALL_ACCESS, |
+ GENERIC_READ | GENERIC_WRITE, |
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, |
NULL, |
OPEN_EXISTING, |