Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: base/platform_file_win.cc

Issue 7038032: Fix PP_FileOpenFlags_Dev handling: (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/platform_file_posix.cc ('k') | chrome/browser/extensions/extension_file_browser_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_file_win.cc
diff --git a/base/platform_file_win.cc b/base/platform_file_win.cc
index 7a6a586a65d5fcfe9b248b8327980db73befb628..f448db065a7be5be284d95b9ad9df6fb2001de16 100644
--- a/base/platform_file_win.cc
+++ b/base/platform_file_win.cc
@@ -38,7 +38,7 @@ PlatformFile CreatePlatformFile(const FilePath& name,
disposition = CREATE_ALWAYS;
}
- if (flags & PLATFORM_FILE_TRUNCATE) {
+ if (flags & PLATFORM_FILE_OPEN_TRUNCATED) {
DCHECK(!disposition);
DCHECK(flags & PLATFORM_FILE_WRITE);
disposition = TRUNCATE_EXISTING;
« no previous file with comments | « base/platform_file_posix.cc ('k') | chrome/browser/extensions/extension_file_browser_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698