Index: chrome/browser/instant/instant_service_factory.cc |
diff --git a/chrome/browser/instant/instant_service_factory.cc b/chrome/browser/instant/instant_service_factory.cc |
index d17a235082e39aebf05c27d7703b4af44c934321..6fdaccf99fa42e18d20820e68251c2b9ce69b818 100644 |
--- a/chrome/browser/instant/instant_service_factory.cc |
+++ b/chrome/browser/instant/instant_service_factory.cc |
@@ -18,11 +18,6 @@ InstantServiceFactory* InstantServiceFactory::GetInstance() { |
return Singleton<InstantServiceFactory>::get(); |
} |
-// static |
-ProfileKeyedService* InstantServiceFactory::BuildInstanceFor(Profile* profile) { |
- return new InstantService; |
-} |
- |
InstantServiceFactory::InstantServiceFactory() |
: ProfileKeyedServiceFactory("InstantService", |
ProfileDependencyManager::GetInstance()) { |
@@ -42,5 +37,5 @@ bool InstantServiceFactory::ServiceIsNULLWhileTesting() const { |
ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor( |
Profile* profile) const { |
- return BuildInstanceFor(profile); |
+ return new InstantService; |
} |