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

Unified Diff: chrome/browser/ui/search_engines/template_url_table_model.cc

Issue 10918065: Introduce structures to reduce the number of arguments in the FaviconService methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac build fix. Created 8 years, 3 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/ui/search_engines/template_url_table_model.cc
diff --git a/chrome/browser/ui/search_engines/template_url_table_model.cc b/chrome/browser/ui/search_engines/template_url_table_model.cc
index 0e4aa91f8d4337d989b0b05c016b288987c8099c..cf4fa821f3f19199e98b968f3f1f92f0d5610406 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc
@@ -92,8 +92,9 @@ class ModelEntry {
return;
}
load_state_ = LOADING;
- favicon_service->GetFaviconImage(favicon_url, history::FAVICON,
- gfx::kFaviconSize, &request_consumer_,
+ favicon_service->GetFaviconImage(
+ FaviconService::FaviconParams(favicon_url, history::FAVICON,
+ gfx::kFaviconSize, &request_consumer_),
base::Bind(&ModelEntry::OnFaviconDataAvailable,
base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698