summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/base/file_stream_unittest.cc3
-rw-r--r--net/tools/tld_cleanup/tld_cleanup.cc3
2 files changed, 2 insertions, 4 deletions
diff --git a/net/base/file_stream_unittest.cc b/net/base/file_stream_unittest.cc
index 76909eb..a7a650f 100644
--- a/net/base/file_stream_unittest.cc
+++ b/net/base/file_stream_unittest.cc
@@ -22,8 +22,7 @@ class FileStreamTest : public PlatformTest {
PlatformTest::SetUp();
file_util::CreateTemporaryFile(&temp_file_path_);
- file_util::WriteFile(temp_file_path_.ToWStringHack(),
- kTestData, kTestDataSize);
+ file_util::WriteFile(temp_file_path_, kTestData, kTestDataSize);
}
virtual void TearDown() {
file_util::Delete(temp_file_path_, false);
diff --git a/net/tools/tld_cleanup/tld_cleanup.cc b/net/tools/tld_cleanup/tld_cleanup.cc
index d915c4d..71c16c0 100644
--- a/net/tools/tld_cleanup/tld_cleanup.cc
+++ b/net/tools/tld_cleanup/tld_cleanup.cc
@@ -58,8 +58,7 @@ bool WriteRules(const StringSet& rules, FilePath outfile) {
data.append(";\n");
- int written = file_util::WriteFile(outfile.ToWStringHack(), data.data(),
- data.size());
+ int written = file_util::WriteFile(outfile, data.data(), data.size());
return written == static_cast<int>(data.size());
}