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

Unified Diff: components/keyed_service/core/refcounted_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/refcounted_keyed_service_factory.cc
diff --git a/components/keyed_service/core/refcounted_keyed_service_factory.cc b/components/keyed_service/core/refcounted_keyed_service_factory.cc
index d33340b2d530fe7fdc5c25570e7e7160d0286529..7c44c2ce3893fcf79297864fe0041e5914712900 100644
--- a/components/keyed_service/core/refcounted_keyed_service_factory.cc
+++ b/components/keyed_service/core/refcounted_keyed_service_factory.cc
@@ -89,7 +89,7 @@ RefcountedKeyedServiceFactory::GetServiceForContext(
void RefcountedKeyedServiceFactory::Associate(
base::SupportsUserData* context,
const scoped_refptr<RefcountedKeyedService>& service) {
- DCHECK(!ContainsKey(mapping_, context));
+ DCHECK(!base::ContainsKey(mapping_, context));
mapping_.insert(std::make_pair(context, service));
}
« no previous file with comments | « components/keyed_service/core/keyed_service_factory.cc ('k') | components/metrics/profiler/profiler_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698