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

Unified Diff: chrome/browser/sync/glue/favicon_cache.cc

Issue 331163003: [Refactor] Change FaviconService API to take in a desired pixel size (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: chrome/browser/sync/glue/favicon_cache.cc
diff --git a/chrome/browser/sync/glue/favicon_cache.cc b/chrome/browser/sync/glue/favicon_cache.cc
index 82b9a85a127c5d309a5f792cad611939e27fb6cf..ecd7e1d338ab6e0e31dc2e56a3684b39e7671fe2 100644
--- a/chrome/browser/sync/glue/favicon_cache.cc
+++ b/chrome/browser/sync/glue/favicon_cache.cc
@@ -443,8 +443,9 @@ void FaviconCache::OnPageFaviconUpdated(const GURL& page_url) {
// See crbug.com/181068.
base::CancelableTaskTracker::TaskId id =
favicon_service->GetFaviconForPageURL(
- FaviconService::FaviconForPageURLParams(
- page_url, SupportedFaviconTypes(), kMaxFaviconResolution),
+ page_url,
+ SupportedFaviconTypes(),
+ kMaxFaviconResolution,
base::Bind(&FaviconCache::OnFaviconDataAvailable,
weak_ptr_factory_.GetWeakPtr(),
page_url),
« no previous file with comments | « chrome/browser/notifications/message_center_settings_controller.cc ('k') | chrome/browser/ui/android/navigation_popup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698