| Index: chrome/browser/extensions/api/tabs/tabs_windows_api.cc
|
| diff --git a/chrome/browser/extensions/api/tabs/tabs_windows_api.cc b/chrome/browser/extensions/api/tabs/tabs_windows_api.cc
|
| index 1bbd5bd27df4eb81a778dab0044a23ea89e21977..a955dd16467fb8102c7e45887abb9bd38e65cb47 100644
|
| --- a/chrome/browser/extensions/api/tabs/tabs_windows_api.cc
|
| +++ b/chrome/browser/extensions/api/tabs/tabs_windows_api.cc
|
| @@ -48,7 +48,7 @@ TabsWindowsAPI::~TabsWindowsAPI() {
|
|
|
| // static
|
| TabsWindowsAPI* TabsWindowsAPI::Get(content::BrowserContext* context) {
|
| - return ProfileKeyedAPIFactory<TabsWindowsAPI>::GetForProfile(context);
|
| + return BrowserContextKeyedAPIFactory<TabsWindowsAPI>::Get(context);
|
| }
|
|
|
| TabsEventRouter* TabsWindowsAPI::tabs_event_router() {
|
| @@ -70,10 +70,11 @@ void TabsWindowsAPI::Shutdown() {
|
| this);
|
| }
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<TabsWindowsAPI> >
|
| -g_factory = LAZY_INSTANCE_INITIALIZER;
|
| +static base::LazyInstance<BrowserContextKeyedAPIFactory<TabsWindowsAPI> >
|
| + g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| -ProfileKeyedAPIFactory<TabsWindowsAPI>* TabsWindowsAPI::GetFactoryInstance() {
|
| +BrowserContextKeyedAPIFactory<TabsWindowsAPI>*
|
| +TabsWindowsAPI::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
|
|
|
|