Index: chrome/browser/download/download_ui_controller_unittest.cc |
diff --git a/chrome/browser/download/download_ui_controller_unittest.cc b/chrome/browser/download/download_ui_controller_unittest.cc |
index 7c812c4ef4aa290eaa6304f1418acf66bc861f8c..e6c172b19521c3f13121c543b21860d7cc2890bc 100644 |
--- a/chrome/browser/download/download_ui_controller_unittest.cc |
+++ b/chrome/browser/download/download_ui_controller_unittest.cc |
@@ -241,6 +241,7 @@ DownloadUIControllerTest::CreateMockInProgressDownload() { |
Return(content::DownloadItem::TARGET_DISPOSITION_OVERWRITE)); |
EXPECT_CALL(*item, GetOpened()).WillRepeatedly(Return(false)); |
EXPECT_CALL(*item, GetLastAccessTime()).WillRepeatedly(Return(base::Time())); |
+ EXPECT_CALL(*item, IsVisible()).WillRepeatedly(Return(true)); |
EXPECT_CALL(*item, GetMimeType()).WillRepeatedly(Return(std::string())); |
EXPECT_CALL(*item, GetURL()).WillRepeatedly(ReturnRefOfCopy(GURL())); |
EXPECT_CALL(*item, GetWebContents()).WillRepeatedly(Return(nullptr)); |