| Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
|
| diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
|
| index d3793821665fc0c7bf05ee94ce55070217e222f2..4855a0f21da36251461b6b31bbfa99c85f59e012 100644
|
| --- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
|
| +++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
|
| @@ -768,4 +768,13 @@ void WebNavigationAPI::OnListenerAdded(
|
| ExtensionSystem::Get(profile_)->event_router()->UnregisterObserver(this);
|
| }
|
|
|
| +static base::LazyInstance<ProfileKeyedAPIFactory<WebNavigationAPI> >
|
| +g_factory = LAZY_INSTANCE_INITIALIZER;
|
| +
|
| +template <>
|
| +ProfileKeyedAPIFactory<WebNavigationAPI>*
|
| +ProfileKeyedAPIFactory<WebNavigationAPI>::GetInstance() {
|
| + return &g_factory.Get();
|
| +}
|
| +
|
| } // namespace extensions
|
|
|