Index: chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc |
diff --git a/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc b/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc |
index c83154da849eb9a42e027bf06752753a8c510edc..a0c66aa0b26a93f9cd18d4ab066cc8d0d2bd5322 100644 |
--- a/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc |
+++ b/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc |
@@ -125,7 +125,8 @@ void MediaDeviceNotificationsWindowWinTest::DoDevicesDetachedTest( |
it != device_indices.end(); |
++it) { |
volume_broadcast.dbcv_unitmask |= 0x1 << *it; |
- EXPECT_CALL(observer_, OnMediaDeviceDetached(base::IntToString(*it))); |
+ EXPECT_CALL(observer_, OnMediaDeviceDetached(base::IntToString(*it))) |
+ .Times(0); |
} |
} |
window_->OnDeviceChange(DBT_DEVICEREMOVECOMPLETE, |