| Index: tools/gn/function_write_file.cc
|
| diff --git a/tools/gn/function_write_file.cc b/tools/gn/function_write_file.cc
|
| index 0c0dd000987e15901545ae5186c526c55be37cf6..9ac1221af4b5e3485e4b54fe6385ce53dcc89447 100644
|
| --- a/tools/gn/function_write_file.cc
|
| +++ b/tools/gn/function_write_file.cc
|
| @@ -71,7 +71,7 @@ Value RunWriteFile(Scope* scope,
|
| base::FilePath file_path =
|
| scope->settings()->build_settings()->GetFullPath(source_file);
|
| const std::string& contents_string = contents.str();
|
| - if (!file_util::CreateDirectory(file_path.DirName())) {
|
| + if (!base::CreateDirectory(file_path.DirName())) {
|
| *err = Err(function->function(), "Unable to create directory.",
|
| "I was using \"" + FilePathToUTF8(file_path.DirName()) + "\".");
|
| return Value();
|
|
|