Index: chrome/browser/history/history_service.cc |
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc |
index aee38c899a9c99b5635cd81d1526576acad38e1e..f18b2ba77ca27a55757bd510e178a907451475fb 100644 |
--- a/chrome/browser/history/history_service.cc |
+++ b/chrome/browser/history/history_service.cc |
@@ -620,9 +620,7 @@ CancelableTaskTracker::TaskId HistoryService::GetFavicons( |
} |
CancelableTaskTracker::TaskId HistoryService::GetFaviconsForURL( |
- const GURL& page_url, |
- int icon_types, |
- int desired_size_in_dip, |
+ const FaviconService::FaviconForURLParams& params, |
const std::vector<ui::ScaleFactor>& desired_scale_factors, |
const FaviconService::FaviconResultsCallback& callback, |
CancelableTaskTracker* tracker) { |
@@ -636,10 +634,11 @@ CancelableTaskTracker::TaskId HistoryService::GetFaviconsForURL( |
FROM_HERE, |
base::Bind(&HistoryBackend::GetFaviconsForURL, |
history_backend_.get(), |
- page_url, |
- icon_types, |
- desired_size_in_dip, |
+ params.page_url, |
+ params.icon_types_priority, |
+ params.desired_size_in_dip, |
desired_scale_factors, |
+ params.threshold_for_next_icon_types, |
results), |
base::Bind(&RunWithFaviconResults, callback, base::Owned(results))); |
} |