Index: chrome/browser/safe_browsing/safe_browsing_service.cc |
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc |
index c4e8eff06e9fe51a515553c4d71acba962e08049..20b96494f4978632c29bf8a92f7fbc793073cec5 100644 |
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc |
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc |
@@ -577,7 +577,7 @@ void SafeBrowsingService::OnIOShutdown() { |
} |
bool SafeBrowsingService::DatabaseAvailable() const { |
- AutoLock lock(database_lock_); |
+ base::AutoLock lock(database_lock_); |
return !closing_database_ && (database_ != NULL); |
} |
@@ -610,7 +610,7 @@ SafeBrowsingDatabase* SafeBrowsingService::GetDatabase() { |
{ |
// Acquiring the lock here guarantees correct ordering between the writes to |
// the new database object above, and the setting of |databse_| below. |
- AutoLock lock(database_lock_); |
+ base::AutoLock lock(database_lock_); |
database_ = database; |
} |
@@ -814,7 +814,7 @@ void SafeBrowsingService::OnCloseDatabase() { |
// of |database_| above and of |closing_database_| below, which ensures there |
// won't be a window during which the IO thread falsely believes the database |
// is available. |
- AutoLock lock(database_lock_); |
+ base::AutoLock lock(database_lock_); |
closing_database_ = false; |
} |