| Index: chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
|
| diff --git a/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc b/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
|
| index 180bc8ed95d2e564e3b832bc0d913c546f819512..15afd76b5ed745acbaa5a517e2855016ba8d790c 100644
|
| --- a/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
|
| +++ b/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
|
| @@ -51,7 +51,7 @@ WhitelistManager*
|
| WhitelistManagerFactory::GetForProfile(Profile* profile) {
|
| WhitelistManagerService* service =
|
| static_cast<WhitelistManagerService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| // service can be NULL for tests.
|
| return service ? service->GetWhitelistManager() : NULL;
|
| }
|
| @@ -63,14 +63,14 @@ WhitelistManagerFactory::GetInstance() {
|
| }
|
|
|
| WhitelistManagerFactory::WhitelistManagerFactory()
|
| - : ProfileKeyedServiceFactory("AutocheckoutWhitelistManager",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("AutocheckoutWhitelistManager",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| WhitelistManagerFactory::~WhitelistManagerFactory() {
|
| }
|
|
|
| -ProfileKeyedService*
|
| +BrowserContextKeyedService*
|
| WhitelistManagerFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| WhitelistManagerService* service =
|
|
|