Index: tools/gn/function_read_file.cc |
diff --git a/tools/gn/function_read_file.cc b/tools/gn/function_read_file.cc |
index af8bdb10709e2f6b7d0deb7b6d5a423dc3f90d6a..1067d9bba75d5301ea6f8cb5acdd4cc8719b1a63 100644 |
--- a/tools/gn/function_read_file.cc |
+++ b/tools/gn/function_read_file.cc |
@@ -60,7 +60,7 @@ Value RunReadFile(Scope* scope, |
// Read contents. |
std::string file_contents; |
- if (!file_util::ReadFileToString(file_path, &file_contents)) { |
+ if (!base::ReadFileToString(file_path, &file_contents)) { |
*err = Err(args[0], "Could not read file.", |
"I resolved this to \"" + FilePathToUTF8(file_path) + "\"."); |
return Value(); |