Index: chrome/browser/storage_monitor/storage_monitor.cc |
=================================================================== |
--- chrome/browser/storage_monitor/storage_monitor.cc (revision 201619) |
+++ chrome/browser/storage_monitor/storage_monitor.cc (working copy) |
@@ -142,16 +142,16 @@ |
void StorageMonitor::ProcessAttach(const StorageInfo& info) { |
{ |
base::AutoLock lock(storage_lock_); |
- if (ContainsKey(storage_map_, info.device_id)) { |
+ if (ContainsKey(storage_map_, info.device_id())) { |
// This can happen if our unique id scheme fails. Ignore the incoming |
// non-unique attachment. |
return; |
} |
- storage_map_.insert(std::make_pair(info.device_id, info)); |
+ storage_map_.insert(std::make_pair(info.device_id(), info)); |
} |
- DVLOG(1) << "RemovableStorageAttached with name " << UTF16ToUTF8(info.name) |
- << " and id " << info.device_id; |
+ DVLOG(1) << "RemovableStorageAttached with name " << UTF16ToUTF8(info.name()) |
+ << " and id " << info.device_id(); |
observer_list_->Notify( |
&RemovableStorageObserver::OnRemovableStorageAttached, info); |
} |