| Index: components/favicon/core/favicon_handler_unittest.cc
|
| diff --git a/components/favicon/core/favicon_handler_unittest.cc b/components/favicon/core/favicon_handler_unittest.cc
|
| index 4a997f382474f3ff6783867958eccd253e6ccf70..7cc76f768822a6f1c3e7c288193318429cc6b527 100644
|
| --- a/components/favicon/core/favicon_handler_unittest.cc
|
| +++ b/components/favicon/core/favicon_handler_unittest.cc
|
| @@ -264,13 +264,12 @@ class FakeFaviconService {
|
|
|
| base::CancelableTaskTracker::TaskId UpdateFaviconMappingsAndFetch(
|
| const GURL& page_url,
|
| - const std::vector<GURL>& icon_urls,
|
| - int icon_types,
|
| + const GURL& icon_url,
|
| + favicon_base::IconType icon_type,
|
| int desired_size_in_dip,
|
| const favicon_base::FaviconResultsCallback& callback,
|
| base::CancelableTaskTracker* tracker) {
|
| - CHECK_EQ(1U, icon_urls.size()) << "Multi-icon lookup not implemented";
|
| - return GetFaviconForPageOrIconURL(icon_urls.front(), callback, tracker);
|
| + return GetFaviconForPageOrIconURL(icon_url, callback, tracker);
|
| }
|
|
|
| private:
|
| @@ -408,9 +407,9 @@ TEST_F(FaviconHandlerTest, GetFaviconFromHistory) {
|
| // Test that UpdateFaviconsAndFetch() is called with the appropriate parameters
|
| // when there is data in the database for neither the page URL nor the icon URL.
|
| TEST_F(FaviconHandlerTest, UpdateFaviconMappingsAndFetch) {
|
| - EXPECT_CALL(favicon_service_, UpdateFaviconMappingsAndFetch(
|
| - kPageURL, URLVector{kIconURL16x16}, FAVICON,
|
| - /*desired_size_in_dip=*/16, _, _));
|
| + EXPECT_CALL(favicon_service_,
|
| + UpdateFaviconMappingsAndFetch(kPageURL, kIconURL16x16, FAVICON,
|
| + /*desired_size_in_dip=*/16, _, _));
|
|
|
| RunHandlerWithSimpleFaviconCandidates({kIconURL16x16});
|
| }
|
|
|