| Index: tools/gn/function_write_file.cc
|
| diff --git a/tools/gn/function_write_file.cc b/tools/gn/function_write_file.cc
|
| index 9d606db4fc88677c7cc60ccb6f610c92588ed770..bfdc5a3e7e7ae9c1f0ed33aebf41d4fdd36315e0 100644
|
| --- a/tools/gn/function_write_file.cc
|
| +++ b/tools/gn/function_write_file.cc
|
| @@ -77,7 +77,7 @@ Value RunWriteFile(Scope* scope,
|
| return Value();
|
| }
|
| int int_size = static_cast<int>(contents_string.size());
|
| - if (file_util::WriteFile(file_path, contents_string.c_str(), int_size)
|
| + if (base::WriteFile(file_path, contents_string.c_str(), int_size)
|
| != int_size) {
|
| *err = Err(function->function(), "Unable to write file.",
|
| "I was writing \"" + FilePathToUTF8(file_path) + "\".");
|
|
|