Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 4e394fc242c26e787c59b04de1df694cae081d28..66d6f35c5d370fa7aa4afd4f626afd530fbf7650 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/browser/extensions/extension_special_storage_policy.h" |
#include "chrome/browser/extensions/extension_system_factory.h" |
#include "chrome/browser/extensions/test_extension_system.h" |
+#include "chrome/browser/favicon/chrome_favicon_client_factory.h" |
#include "chrome/browser/favicon/favicon_service.h" |
#include "chrome/browser/favicon/favicon_service_factory.h" |
#include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" |
@@ -417,7 +418,9 @@ TestingProfile::~TestingProfile() { |
} |
static KeyedService* BuildFaviconService(content::BrowserContext* profile) { |
- return new FaviconService(static_cast<Profile*>(profile)); |
+ FaviconClient* favicon_client = |
+ ChromeFaviconClientFactory::GetForProfile(static_cast<Profile*>(profile)); |
+ return new FaviconService(static_cast<Profile*>(profile), favicon_client); |
} |
void TestingProfile::CreateFaviconService() { |