Index: tools/gn/ninja_target_writer.cc |
diff --git a/tools/gn/ninja_target_writer.cc b/tools/gn/ninja_target_writer.cc |
index 41523362afce2ba992f6d09e70f42d734c536914..adb110879ca3515f4511e249c909522425952e06 100644 |
--- a/tools/gn/ninja_target_writer.cc |
+++ b/tools/gn/ninja_target_writer.cc |
@@ -78,8 +78,8 @@ void NinjaTargetWriter::RunAndWriteFile(const Target* target, |
} |
std::string contents = file.str(); |
- file_util::WriteFile(ninja_file, contents.c_str(), |
- static_cast<int>(contents.size())); |
+ base::WriteFile(ninja_file, contents.c_str(), |
+ static_cast<int>(contents.size())); |
} |
std::string NinjaTargetWriter::GetSourcesImplicitDeps() const { |