Index: tools/gn/trace.cc |
diff --git a/tools/gn/trace.cc b/tools/gn/trace.cc |
index 18082c4776b4913d43bec830f2018690296313a4..26fb2762685aef754a5c0180b4c9b255a5ee0f45 100644 |
--- a/tools/gn/trace.cc |
+++ b/tools/gn/trace.cc |
@@ -290,6 +290,6 @@ void SaveTraces(const base::FilePath& file_name) { |
out << "]}"; |
std::string out_str = out.str(); |
- file_util::WriteFile(file_name, out_str.data(), |
+ base::WriteFile(file_name, out_str.data(), |
static_cast<int>(out_str.size())); |
} |