| Index: chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
|
| diff --git a/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
|
| index 6941878f69c33e8a1711cfa7292fb9c98103a952..b22022edd8bc9a0661cc665b36dfd9bacd3e2236 100644
|
| --- a/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
|
| +++ b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc
|
| @@ -33,7 +33,7 @@ void MTPDeviceMapService::RegisterMTPFileSystem(
|
| DCHECK(!filesystem_id.empty());
|
|
|
| const AsyncDelegateKey key = GetAsyncDelegateKey(device_location, read_only);
|
| - if (!ContainsKey(mtp_device_usage_map_, key)) {
|
| + if (!base::ContainsKey(mtp_device_usage_map_, key)) {
|
| // Note that this initializes the delegate asynchronously, but since
|
| // the delegate will only be used from the IO thread, it is guaranteed
|
| // to be created before use of it expects it to be there.
|
| @@ -82,7 +82,7 @@ void MTPDeviceMapService::AddAsyncDelegate(
|
| DCHECK(!device_location.empty());
|
|
|
| const AsyncDelegateKey key = GetAsyncDelegateKey(device_location, read_only);
|
| - if (ContainsKey(async_delegate_map_, key))
|
| + if (base::ContainsKey(async_delegate_map_, key))
|
| return;
|
| async_delegate_map_[key] = delegate;
|
| }
|
|
|