diff options
Diffstat (limited to 'base/path_service.cc')
-rw-r--r-- | base/path_service.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/path_service.cc b/base/path_service.cc index 5cfb1ef..89e58b2 100644 --- a/base/path_service.cc +++ b/base/path_service.cc @@ -253,7 +253,7 @@ bool PathService::OverrideAndCreateIfNeeded(int key, // Make sure the directory exists. We need to do this before we translate // this to the absolute path because on POSIX, MakeAbsoluteFilePath fails // if called on a non-existent path. - if (!file_util::PathExists(file_path) && + if (!base::PathExists(file_path) && !file_util::CreateDirectory(file_path)) return false; } |