summaryrefslogtreecommitdiffstats
path: root/net/tools/tld_cleanup/tld_cleanup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/tld_cleanup/tld_cleanup.cc')
-rw-r--r--net/tools/tld_cleanup/tld_cleanup.cc3
1 files changed, 1 insertions, 2 deletions
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());
}