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

Unified Diff: components/keyed_service/core/keyed_service_factory.cc

Issue 2231753002: components: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more call site 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: components/keyed_service/core/keyed_service_factory.cc
diff --git a/components/keyed_service/core/keyed_service_factory.cc b/components/keyed_service/core/keyed_service_factory.cc
index 7fe140779bca918219b470e61d617f8642996be7..938ddc5d41b378f2f280904b993ca30b524ec9eb 100644
--- a/components/keyed_service/core/keyed_service_factory.cc
+++ b/components/keyed_service/core/keyed_service_factory.cc
@@ -97,7 +97,7 @@ KeyedService* KeyedServiceFactory::GetServiceForContext(
void KeyedServiceFactory::Associate(base::SupportsUserData* context,
std::unique_ptr<KeyedService> service) {
- DCHECK(!ContainsKey(mapping_, context));
+ DCHECK(!base::ContainsKey(mapping_, context));
mapping_.insert(std::make_pair(context, service.release()));
}

Powered by Google App Engine
This is Rietveld 408576698