Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: content/browser/background_sync/background_sync_context.cc

Issue 2228403003: content: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/background_sync/background_sync_context.cc
diff --git a/content/browser/background_sync/background_sync_context.cc b/content/browser/background_sync/background_sync_context.cc
index 070a5369c4e429e0955c19d2b1b1bcc9ffababcf..6a5166a048eb09891711c4e450b2c63acdbf3ce4 100644
--- a/content/browser/background_sync/background_sync_context.cc
+++ b/content/browser/background_sync/background_sync_context.cc
@@ -55,7 +55,7 @@ void BackgroundSyncContext::CreateService(
void BackgroundSyncContext::ServiceHadConnectionError(
BackgroundSyncServiceImpl* service) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- DCHECK(ContainsValue(services_, service));
+ DCHECK(base::ContainsValue(services_, service));
services_.erase(service);
delete service;
@@ -92,7 +92,7 @@ void BackgroundSyncContext::CreateServiceOnIOThread(
void BackgroundSyncContext::ShutdownOnIO() {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- STLDeleteElements(&services_);
+ base::STLDeleteElements(&services_);
background_sync_manager_.reset();
}
« no previous file with comments | « content/browser/appcache/appcache_update_job_unittest.cc ('k') | content/browser/bluetooth/bluetooth_allowed_devices_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698