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

Unified Diff: chrome/browser/engagement/site_engagement_eviction_policy.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change 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: chrome/browser/engagement/site_engagement_eviction_policy.cc
diff --git a/chrome/browser/engagement/site_engagement_eviction_policy.cc b/chrome/browser/engagement/site_engagement_eviction_policy.cc
index 869e072a09215fee27a28a5c6a9653c0cb8c44ef..7d52f566f2af035cb6230eee5c5835e32b035f56 100644
--- a/chrome/browser/engagement/site_engagement_eviction_policy.cc
+++ b/chrome/browser/engagement/site_engagement_eviction_policy.cc
@@ -65,7 +65,7 @@ GURL DoCalculateEvictionOrigin(
usage.second -
GetSoftQuotaForOrigin(origin, score_provider->GetScore(origin),
total_engagement_points, global_quota);
- if (overuse > max_overuse && !ContainsKey(exceptions, origin)) {
+ if (overuse > max_overuse && !base::ContainsKey(exceptions, origin)) {
max_overuse = overuse;
origin_to_evict = origin;
}

Powered by Google App Engine
This is Rietveld 408576698