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

Unified Diff: chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.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/media_galleries/linux/mtp_device_delegate_impl_linux.cc
diff --git a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
index 2f4172231ed64923f3a15e2a253d151f79ff2398..1c6b4b5ae3486c6553078b8d931860a01f0d47d8 100644
--- a/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
+++ b/chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
@@ -426,7 +426,7 @@ MTPDeviceDelegateImplLinux::MTPFileNode::MTPFileNode(
file_id_to_node_map_(file_id_to_node_map) {
DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
DCHECK(file_id_to_node_map_);
- DCHECK(!ContainsKey(*file_id_to_node_map_, file_id_));
+ DCHECK(!base::ContainsKey(*file_id_to_node_map_, file_id_));
(*file_id_to_node_map_)[file_id_] = this;
}
@@ -461,7 +461,7 @@ void MTPDeviceDelegateImplLinux::MTPFileNode::ClearNonexistentChildren(
std::set<std::string> children_to_erase;
for (ChildNodes::const_iterator it = children_.begin();
it != children_.end(); ++it) {
- if (ContainsKey(children_to_keep, it->first))
+ if (base::ContainsKey(children_to_keep, it->first))
continue;
children_to_erase.insert(it->first);
}

Powered by Google App Engine
This is Rietveld 408576698