| Index: chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| diff --git a/chrome/browser/system_monitor/removable_device_notifications_window_win.cc b/chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| index 1e56eea225c10f2665884be9954fa6859641661b..372fa4dbc8e300ecbd966456620cc26b9ec22a05 100644
|
| --- a/chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| +++ b/chrome/browser/system_monitor/removable_device_notifications_window_win.cc
|
| @@ -43,10 +43,15 @@ RemovableDeviceNotificationsWindowWin::
|
| portable_device_watcher_(portable_device_watcher) {
|
| DCHECK(volume_mount_watcher_);
|
| DCHECK(portable_device_watcher_);
|
| + volume_mount_watcher_->SetNotifications(receiver());
|
| + portable_device_watcher_->SetNotifications(receiver());
|
| }
|
|
|
| RemovableDeviceNotificationsWindowWin::
|
| ~RemovableDeviceNotificationsWindowWin() {
|
| + volume_mount_watcher_->SetNotifications(NULL);
|
| + portable_device_watcher_->SetNotifications(NULL);
|
| +
|
| if (window_)
|
| DestroyWindow(window_);
|
|
|
|
|