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

Unified Diff: components/guest_view/browser/guest_view_manager.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
« no previous file with comments | « components/flags_ui/flags_state_unittest.cc ('k') | components/history/core/browser/download_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/guest_view/browser/guest_view_manager.cc
diff --git a/components/guest_view/browser/guest_view_manager.cc b/components/guest_view/browser/guest_view_manager.cc
index d98ef1ac37b83393644195e7fb69d9211c1d3718..1734c762657e9ae169d5d621fc0c84cd8fbe7d26 100644
--- a/components/guest_view/browser/guest_view_manager.cc
+++ b/components/guest_view/browser/guest_view_manager.cc
@@ -239,7 +239,8 @@ WebContents* GuestViewManager::GetFullPageGuest(
void GuestViewManager::AddGuest(int guest_instance_id,
WebContents* guest_web_contents) {
- CHECK(!ContainsKey(guest_web_contents_by_instance_id_, guest_instance_id));
+ CHECK(!base::ContainsKey(guest_web_contents_by_instance_id_,
+ guest_instance_id));
CHECK(CanUseGuestInstanceID(guest_instance_id));
guest_web_contents_by_instance_id_[guest_instance_id] = guest_web_contents;
@@ -422,7 +423,7 @@ bool GuestViewManager::CanEmbedderAccessInstanceIDMaybeKill(
bool GuestViewManager::CanUseGuestInstanceID(int guest_instance_id) {
if (guest_instance_id <= last_instance_id_removed_)
return false;
- return !ContainsKey(removed_instance_ids_, guest_instance_id);
+ return !base::ContainsKey(removed_instance_ids_, guest_instance_id);
}
// static
« no previous file with comments | « components/flags_ui/flags_state_unittest.cc ('k') | components/history/core/browser/download_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698