Index: webkit/browser/database/database_tracker.cc |
diff --git a/webkit/browser/database/database_tracker.cc b/webkit/browser/database/database_tracker.cc |
index ce155ca3b05fa1b2b3326a282789598cd34d21d1..cc14e1404244131a810ed7786305b4c5de0f76e8 100644 |
--- a/webkit/browser/database/database_tracker.cc |
+++ b/webkit/browser/database/database_tracker.cc |
@@ -451,7 +451,7 @@ bool DatabaseTracker::LazyInit() { |
// If there are left-over directories from failed deletion attempts, clean |
// them up. |
- if (file_util::DirectoryExists(db_dir_)) { |
+ if (base::DirectoryExists(db_dir_)) { |
base::FileEnumerator directories( |
db_dir_, |
false, |
@@ -467,7 +467,7 @@ bool DatabaseTracker::LazyInit() { |
// have a meta table, delete the database directory. |
const base::FilePath kTrackerDatabaseFullPath = |
db_dir_.Append(base::FilePath(kTrackerDatabaseFileName)); |
- if (file_util::DirectoryExists(db_dir_) && |
+ if (base::DirectoryExists(db_dir_) && |
base::PathExists(kTrackerDatabaseFullPath) && |
(!db_->Open(kTrackerDatabaseFullPath) || |
!sql::MetaTable::DoesTableExist(db_.get()))) { |
@@ -797,7 +797,7 @@ void DatabaseTracker::DeleteIncognitoDBDirectory() { |
base::FilePath incognito_db_dir = |
profile_path_.Append(kIncognitoDatabaseDirectoryName); |
- if (file_util::DirectoryExists(incognito_db_dir)) |
+ if (base::DirectoryExists(incognito_db_dir)) |
base::Delete(incognito_db_dir, true); |
} |