Index: base/files/scoped_temp_dir.cc |
diff --git a/base/files/scoped_temp_dir.cc b/base/files/scoped_temp_dir.cc |
index 5666ce11423b77965b95a3ef1a1e52bc1f23eacb..3e903497017de33dc9433d403042c6a22bcba439 100644 |
--- a/base/files/scoped_temp_dir.cc |
+++ b/base/files/scoped_temp_dir.cc |
@@ -52,8 +52,7 @@ bool ScopedTempDir::Set(const FilePath& path) { |
if (!path_.empty()) |
return false; |
- if (!file_util::DirectoryExists(path) && |
- !file_util::CreateDirectory(path)) |
+ if (!DirectoryExists(path) && !file_util::CreateDirectory(path)) |
return false; |
path_ = path; |
@@ -80,7 +79,7 @@ FilePath ScopedTempDir::Take() { |
} |
bool ScopedTempDir::IsValid() const { |
- return !path_.empty() && file_util::DirectoryExists(path_); |
+ return !path_.empty() && DirectoryExists(path_); |
} |
} // namespace base |