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

Unified Diff: chrome/utility/media_galleries/iapps_xml_utils.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
« no previous file with comments | « chrome/utility/importer/firefox_importer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/media_galleries/iapps_xml_utils.cc
diff --git a/chrome/utility/media_galleries/iapps_xml_utils.cc b/chrome/utility/media_galleries/iapps_xml_utils.cc
index bb42f39027edee0d4feaacd4eeca7b2395323605..57d9cc620ce789019da515f1ef7dd4d227e3c981 100644
--- a/chrome/utility/media_galleries/iapps_xml_utils.cc
+++ b/chrome/utility/media_galleries/iapps_xml_utils.cc
@@ -90,7 +90,7 @@ std::string ReadFileAsString(base::File file) {
return result;
result.resize(file_info.size);
- int bytes_read = file.Read(0, string_as_array(&result), file_info.size);
+ int bytes_read = file.Read(0, base::string_as_array(&result), file_info.size);
if (bytes_read != file_info.size)
result.clear();
@@ -154,7 +154,7 @@ bool XmlDictReader::SkipToNext() {
}
bool XmlDictReader::Found(const std::string& key) const {
- return ContainsKey(found_, key);
+ return base::ContainsKey(found_, key);
}
} // namespace iapps
« no previous file with comments | « chrome/utility/importer/firefox_importer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698