diff options
Diffstat (limited to 'tools/gn/function_read_file.cc')
-rw-r--r-- | tools/gn/function_read_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gn/function_read_file.cc b/tools/gn/function_read_file.cc index af8bdb1..1067d9b 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(); |