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

Unified Diff: chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm

Issue 2829163004: Remove uses of base::hash_map from //chrome (Closed)
Patch Set: Downloads back Created 3 years, 6 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/mac/mtp_device_delegate_impl_mac.mm
diff --git a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
index ce31c8267370a6b135f4a223d964c2ffe91ab823..5b7a959f22d5858ee6245facf5938122d5865362 100644
--- a/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
+++ b/chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
@@ -297,9 +297,7 @@ void MTPDeviceDelegateImplMac::GetFileInfoImpl(
base::File::Info* file_info,
base::File::Error* error) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- base::hash_map<base::FilePath::StringType,
- base::File::Info>::const_iterator i =
- file_info_.find(file_path.value());
+ auto i = file_info_.find(file_path.value());
if (i == file_info_.end()) {
*error = base::File::FILE_ERROR_NOT_FOUND;
return;
« no previous file with comments | « chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.h ('k') | chrome/browser/net/predictor_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698