Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 83de4b47dda01c3d028f0d69c4de14c3b42b2211..ce933b62d90d3041347ada54341dd3e04e93d80d 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -396,9 +396,7 @@ TestingProfile::~TestingProfile() { |
static BrowserContextKeyedService* BuildFaviconService( |
content::BrowserContext* profile) { |
- return new FaviconService( |
- HistoryServiceFactory::GetForProfileWithoutCreating( |
- static_cast<Profile*>(profile))); |
+ return new FaviconService(static_cast<Profile*>(profile)); |
} |
void TestingProfile::CreateFaviconService() { |