Index: webkit/browser/appcache/appcache_database.cc |
diff --git a/webkit/browser/appcache/appcache_database.cc b/webkit/browser/appcache/appcache_database.cc |
index 68738d1dbeeabcef443e7e05b72d135b5463b28b..a3dadd9eaf5515cc1f90381f636c5de6e645bfba 100644 |
--- a/webkit/browser/appcache/appcache_database.cc |
+++ b/webkit/browser/appcache/appcache_database.cc |
@@ -1011,7 +1011,7 @@ bool AppCacheDatabase::LazyOpen(bool create_if_needed) { |
bool opened = false; |
if (use_in_memory_db) { |
opened = db_->OpenInMemory(); |
- } else if (!file_util::CreateDirectory(db_file_path_.DirName())) { |
+ } else if (!base::CreateDirectory(db_file_path_.DirName())) { |
LOG(ERROR) << "Failed to create appcache directory."; |
} else { |
opened = db_->Open(db_file_path_); |
@@ -1196,7 +1196,7 @@ bool AppCacheDatabase::DeleteExistingAndCreateNewDatabase() { |
// This also deletes the disk cache data. |
base::FilePath directory = db_file_path_.DirName(); |
if (!base::DeleteFile(directory, true) || |
- !file_util::CreateDirectory(directory)) { |
+ !base::CreateDirectory(directory)) { |
return false; |
} |