| Index: chrome/browser/ui/find_bar/find_bar_state_factory.cc
|
| diff --git a/chrome/browser/ui/find_bar/find_bar_state_factory.cc b/chrome/browser/ui/find_bar/find_bar_state_factory.cc
|
| index a29aebc5d9c9f144609012fa398b4a5ec60c9c59..bfd1a48216530b4e2bd7e95914e2fa1c5ed6cf07 100644
|
| --- a/chrome/browser/ui/find_bar/find_bar_state_factory.cc
|
| +++ b/chrome/browser/ui/find_bar/find_bar_state_factory.cc
|
| @@ -12,7 +12,7 @@
|
| // static
|
| FindBarState* FindBarStateFactory::GetForProfile(Profile* profile) {
|
| return static_cast<FindBarState*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -35,13 +35,14 @@ FindBarStateFactory* FindBarStateFactory::GetInstance() {
|
| }
|
|
|
| FindBarStateFactory::FindBarStateFactory()
|
| - : ProfileKeyedServiceFactory("FindBarState",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory(
|
| + "FindBarState",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| FindBarStateFactory::~FindBarStateFactory() {}
|
|
|
| -ProfileKeyedService* FindBarStateFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* FindBarStateFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return new FindBarState;
|
| }
|
|
|