Index: chrome/browser/webdata/web_data_service.cc |
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc |
index b359ef5e8dc1548d1e9c7bdfeaf111b5ef847166..b52f22532c7f0b9dab62d019ce5dbccf8ce1b1d3 100644 |
--- a/chrome/browser/webdata/web_data_service.cc |
+++ b/chrome/browser/webdata/web_data_service.cc |
@@ -73,7 +73,7 @@ void WebDataService::UnloadDatabase() { |
} |
void WebDataService::CancelRequest(Handle h) { |
- AutoLock l(pending_lock_); |
+ base::AutoLock l(pending_lock_); |
RequestMap::iterator i = pending_requests_.find(h); |
if (i == pending_requests_.end()) { |
NOTREACHED() << "Canceling a nonexistent web data service request"; |
@@ -547,7 +547,7 @@ void WebDataService::RequestCompleted(Handle h) { |
} |
void WebDataService::RegisterRequest(WebDataRequest* request) { |
- AutoLock l(pending_lock_); |
+ base::AutoLock l(pending_lock_); |
pending_requests_[request->GetHandle()] = request; |
} |
@@ -637,7 +637,7 @@ void WebDataService::ScheduleCommit() { |
} |
int WebDataService::GetNextRequestHandle() { |
- AutoLock l(pending_lock_); |
+ base::AutoLock l(pending_lock_); |
return ++next_request_handle_; |
} |