| Index: chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| diff --git a/chrome/browser/system_monitor/removable_device_notifications_mac.mm b/chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| index 7e9fca8dd0eecc3b3687523594f00a5785864a23..3741d264ec0e4c19710da635cf3fb0986850d110 100644
|
| --- a/chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| +++ b/chrome/browser/system_monitor/removable_device_notifications_mac.mm
|
| @@ -90,7 +90,7 @@ void RemovableDeviceNotificationsMac::UpdateDisk(
|
| // notification now. This is used for devices that are being removed or
|
| // devices that have changed.
|
| if (ShouldPostNotificationForDisk(it->second)) {
|
| - ProcessDetach(it->second.device_id());
|
| + receiver_->ProcessDetach(it->second.device_id());
|
| }
|
| }
|
|
|
| @@ -104,7 +104,8 @@ void RemovableDeviceNotificationsMac::UpdateDisk(
|
| if (ShouldPostNotificationForDisk(info)) {
|
| string16 display_name = GetDisplayNameForDevice(
|
| info.total_size_in_bytes(), info.device_name());
|
| - ProcessAttach(info.device_id(), display_name, info.mount_point().value());
|
| + receiver_->ProcessAttach(StorageInfo(
|
| + info.device_id(), display_name, info.mount_point().value()));
|
| }
|
| }
|
| }
|
|
|