| Index: chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| index 90b27a667887bae8421e596d50af56c5beefc221..5e4481522fe18d5e01995222be59317c9fa5450a 100644
|
| --- a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc
|
| @@ -111,12 +111,13 @@ void FaviconWebUIHandler::HandleGetFaviconDominantColor(const ListValue* args) {
|
|
|
| dom_id_map_[id_] = dom_id;
|
| FaviconService::Handle handle = favicon_service->GetRawFaviconForURL(
|
| - Profile::FromWebUI(web_ui()),
|
| - url,
|
| - history::FAVICON,
|
| - gfx::kFaviconSize,
|
| + FaviconService::FaviconForURLParams(
|
| + Profile::FromWebUI(web_ui()),
|
| + url,
|
| + history::FAVICON,
|
| + gfx::kFaviconSize,
|
| + &consumer_),
|
| ui::SCALE_FACTOR_100P,
|
| - &consumer_,
|
| base::Bind(&FaviconWebUIHandler::OnFaviconDataAvailable,
|
| base::Unretained(this)));
|
| consumer_.SetClientData(favicon_service, handle, id_++);
|
|
|