| Index: base/path_service.cc
|
| ===================================================================
|
| --- base/path_service.cc (revision 2057)
|
| +++ base/path_service.cc (working copy)
|
| @@ -205,9 +205,7 @@
|
| return false;
|
|
|
| // make sure the directory exists:
|
| - if (!file_util::PathExists(file_path) &&
|
| - // TODO(darin): what if this path is not that of a directory?
|
| - !file_util::CreateDirectory(file_path))
|
| + if (!file_util::CreateDirectory(file_path))
|
| return false;
|
|
|
| file_util::TrimTrailingSeparator(&file_path);
|
| @@ -251,4 +249,3 @@
|
| #endif
|
| path_data->providers = p;
|
| }
|
| -
|
|
|