Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index f54fc3540ef1c8c73fb617cf22c9895bb996bf16..021e53fb4f40b5e29ca0a88540b207c9ac23841f 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -22,6 +22,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/history/chrome_history_client.h" |
@@ -426,7 +427,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() { |