diff options
Diffstat (limited to 'base/scoped_temp_dir.cc')
-rw-r--r-- | base/scoped_temp_dir.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/scoped_temp_dir.cc b/base/scoped_temp_dir.cc index 2eee63b..fd3245e 100644 --- a/base/scoped_temp_dir.cc +++ b/base/scoped_temp_dir.cc @@ -28,7 +28,7 @@ bool ScopedTempDir::CreateUniqueTempDir() { bool ScopedTempDir::Set(const FilePath& path) { DCHECK(path_.empty()); - if (!file_util::DirectoryExists(path) && + if (!file_util::DirectoryExists(path) && !file_util::CreateDirectory(path)) { return false; } |