Chromium Code Reviews| Index: chrome/browser/custom_home_pages_table_model.cc |
| diff --git a/chrome/browser/custom_home_pages_table_model.cc b/chrome/browser/custom_home_pages_table_model.cc |
| index 9f50616424f5283d90faafc12688d5314cca0cd1..54d360932eecbdee3f31a57f3e23c3d1c634fa9f 100644 |
| --- a/chrome/browser/custom_home_pages_table_model.cc |
| +++ b/chrome/browser/custom_home_pages_table_model.cc |
| @@ -163,7 +163,9 @@ void CustomHomePagesTableModel::LoadTitleAndFavIcon(Entry* entry) { |
| FaviconService* favicon_service = |
| profile_->GetFaviconService(Profile::EXPLICIT_ACCESS); |
| if (favicon_service) { |
| - entry->fav_icon_handle = favicon_service->GetFaviconForURL(entry->url, |
| + entry->fav_icon_handle = favicon_service->GetFaviconForURL( |
| + entry->url, |
| + history::FAV_ICON, |
| &query_consumer_, |
| NewCallback(this, &CustomHomePagesTableModel::OnGotFavIcon)); |
| } |
| @@ -193,7 +195,8 @@ void CustomHomePagesTableModel::OnGotFavIcon( |
| bool know_fav_icon, |
| scoped_refptr<RefCountedMemory> image_data, |
| bool is_expired, |
| - GURL icon_url) { |
| + GURL icon_url, |
| + history::IconType) { |
|
sky
2011/03/09 21:41:08
include name
michaelbai
2011/03/09 23:11:45
Done.
michaelbai
2011/03/09 23:11:45
Done.
|
| int entry_index; |
| Entry* entry = |
| GetEntryByLoadHandle(&Entry::fav_icon_handle, handle, &entry_index); |