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

Unified Diff: base/file_util_unittest.cc

Issue 6733031: Base: A few more files using BASE_API (for base.dll) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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
Index: base/file_util_unittest.cc
===================================================================
--- base/file_util_unittest.cc (revision 79303)
+++ base/file_util_unittest.cc (working copy)
@@ -162,7 +162,7 @@
// Simple function to dump some text into a new file.
void CreateTextFile(const FilePath& filename,
const std::wstring& contents) {
- std::ofstream file;
+ std::wofstream file;
wtc 2011/03/25 17:35:42 IMPORTANT: this seems like a bug fix. Since there
file.open(filename.value().c_str());
ASSERT_TRUE(file.is_open());
file << contents;

Powered by Google App Engine
This is Rietveld 408576698