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

Unified Diff: trunk/src/chrome/tools/convert_dict/convert_dict.cc

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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
Index: trunk/src/chrome/tools/convert_dict/convert_dict.cc
===================================================================
--- trunk/src/chrome/tools/convert_dict/convert_dict.cc (revision 239399)
+++ trunk/src/chrome/tools/convert_dict/convert_dict.cc (working copy)
@@ -136,14 +136,14 @@
base::FilePath out_path =
file_base.ReplaceExtension(FILE_PATH_LITERAL(".bdic"));
printf("Writing %" PRFilePath " ...\n", out_path.value().c_str());
- FILE* out_file = base::OpenFile(out_path, "wb");
+ FILE* out_file = file_util::OpenFile(out_path, "wb");
if (!out_file) {
printf("ERROR writing file\n");
return 1;
}
size_t written = fwrite(&serialized[0], 1, serialized.size(), out_file);
CHECK(written == serialized.size());
- base::CloseFile(out_file);
+ file_util::CloseFile(out_file);
return 0;
}
« no previous file with comments | « trunk/src/chrome/tools/convert_dict/aff_reader.cc ('k') | trunk/src/chrome/tools/convert_dict/dic_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698