| Index: base/files/scoped_temp_dir.cc
|
| diff --git a/base/files/scoped_temp_dir.cc b/base/files/scoped_temp_dir.cc
|
| index 497799e9f72b7bf986c772a42acc9861e34e08d0..5624a061941361f1dadcce2bf7d9de877269accd 100644
|
| --- a/base/files/scoped_temp_dir.cc
|
| +++ b/base/files/scoped_temp_dir.cc
|
| @@ -23,8 +23,7 @@ bool ScopedTempDir::CreateUniqueTempDir() {
|
|
|
| // This "scoped_dir" prefix is only used on Windows and serves as a template
|
| // for the unique name.
|
| - if (!file_util::CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_dir"),
|
| - &path_))
|
| + if (!base::CreateNewTempDirectory(FILE_PATH_LITERAL("scoped_dir"), &path_))
|
| return false;
|
|
|
| return true;
|
| @@ -39,10 +38,9 @@ bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) {
|
| return false;
|
|
|
| // Create a new, uniquely named directory under |base_path|.
|
| - if (!file_util::CreateTemporaryDirInDir(
|
| - base_path,
|
| - FILE_PATH_LITERAL("scoped_dir_"),
|
| - &path_))
|
| + if (!base::CreateTemporaryDirInDir(base_path,
|
| + FILE_PATH_LITERAL("scoped_dir_"),
|
| + &path_))
|
| return false;
|
|
|
| return true;
|
|
|