diff options
Diffstat (limited to 'webkit/browser/database/database_tracker.cc')
-rw-r--r-- | webkit/browser/database/database_tracker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/browser/database/database_tracker.cc b/webkit/browser/database/database_tracker.cc index aa6838b..ce155ca 100644 --- a/webkit/browser/database/database_tracker.cc +++ b/webkit/browser/database/database_tracker.cc @@ -468,7 +468,7 @@ bool DatabaseTracker::LazyInit() { const base::FilePath kTrackerDatabaseFullPath = db_dir_.Append(base::FilePath(kTrackerDatabaseFileName)); if (file_util::DirectoryExists(db_dir_) && - file_util::PathExists(kTrackerDatabaseFullPath) && + base::PathExists(kTrackerDatabaseFullPath) && (!db_->Open(kTrackerDatabaseFullPath) || !sql::MetaTable::DoesTableExist(db_.get()))) { db_->Close(); |