Chromium Code Reviews| Index: chrome/browser/search/instant_service.cc |
| diff --git a/chrome/browser/search/instant_service.cc b/chrome/browser/search/instant_service.cc |
| index e785e0c04a061e5c565cc9d9f2119ad21c4a0399..decbe0226052f95027b44c8f33cbb246b0792058 100644 |
| --- a/chrome/browser/search/instant_service.cc |
| +++ b/chrome/browser/search/instant_service.cc |
| @@ -5,6 +5,7 @@ |
| #include "chrome/browser/search/instant_service.h" |
| #include "chrome/browser/chrome_notification_types.h" |
| +#include "chrome/browser/favicon/chrome_fallback_icon_client_factory.h" |
| #include "chrome/browser/history/top_sites_factory.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/search/instant_io_context.h" |
| @@ -125,7 +126,9 @@ InstantService::InstantService(Profile* profile) |
| content::URLDataSource::Add(profile_, new ThumbnailListSource(profile_)); |
| #endif // !defined(OS_ANDROID) |
| - content::URLDataSource::Add(profile_, new FallbackIconSource()); |
| + content::URLDataSource::Add(profile_, |
| + new FallbackIconSource( |
| + ChromeFallbackIconClientFactory::GetForProfile(profile_))); |
|
sdefresne
2015/03/16 09:11:29
FallbackIconSource only call the FallbackIconClien
huangs
2015/03/16 22:06:11
Done.
|
| content::URLDataSource::Add( |
| profile_, new FaviconSource(profile_, FaviconSource::FAVICON)); |
| content::URLDataSource::Add(profile_, new MostVisitedIframeSource()); |