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 04fc1f9b8ad7ec47a87f8956b61a103087263b71..64dbdacfcbed37ca8496719cf247fd2f27e3f2c7 100644 |
--- a/chrome/browser/download/download_ui_controller_unittest.cc |
+++ b/chrome/browser/download/download_ui_controller_unittest.cc |
@@ -229,6 +229,7 @@ DownloadUIControllerTest::CreateMockInProgressDownload() { |
EXPECT_CALL(*item, GetOpened()).WillRepeatedly(Return(false)); |
EXPECT_CALL(*item, GetMimeType()).WillRepeatedly(Return(std::string())); |
EXPECT_CALL(*item, GetURL()).WillRepeatedly(testing::ReturnRefOfCopy(GURL())); |
+ EXPECT_CALL(*item, GetWebContents()).WillRepeatedly(Return(nullptr)); |
EXPECT_CALL(*item, IsTemporary()).WillRepeatedly(Return(false)); |
return item.Pass(); |
} |