Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: components/favicon/core/favicon_service.cc

Issue 1092873002: [Icons NTP] Refactor large_icon_source to extract the logic shared between desktop and Android to f… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/favicon/core/favicon_service.cc
diff --git a/components/favicon/core/favicon_service.cc b/components/favicon/core/favicon_service.cc
index 31c704128c517311916dedff7fa3eb3abcde2213..43f9f22f1431a21e9156020db4fbb934c447d40f 100644
--- a/components/favicon/core/favicon_service.cc
+++ b/components/favicon/core/favicon_service.cc
@@ -155,7 +155,7 @@ base::CancelableTaskTracker::TaskId
FaviconService::GetLargestRawFaviconForPageURL(
const GURL& page_url,
const std::vector<int>& icon_types,
- int minimum_size_in_pixels,
+ int minimum_size_in_pixel,
huangs 2015/04/20 19:50:25 Note that changes in favicon_service.h/cc now redu
beaudoin 2015/04/21 00:15:39 Good point. I'll leave that for the next person to
const favicon_base::FaviconRawBitmapCallback& callback,
base::CancelableTaskTracker* tracker) {
favicon_base::FaviconResultsCallback favicon_results_callback =
@@ -169,7 +169,7 @@ FaviconService::GetLargestRawFaviconForPageURL(
}
if (history_service_) {
return history_service_->GetLargestFaviconForURL(page_url, icon_types,
- minimum_size_in_pixels, callback, tracker);
+ minimum_size_in_pixel, callback, tracker);
}
return RunWithEmptyResultAsync(favicon_results_callback, tracker);
}

Powered by Google App Engine
This is Rietveld 408576698