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 b89b19a4f13207fc469799e2e2be53ffacddd2f3..b903c5da05c6970edd4c9000ac0d4d6f28402929 100644 |
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
@@ -44,7 +44,7 @@ namespace { |
typedef std::map<content::WebContents*, WebNavigationTabObserver*> |
TabObserverMap; |
-static base::LazyInstance<TabObserverMap> g_tab_observer = |
+static base::LazyInstance<TabObserverMap>::DestructorAtExit g_tab_observer = |
LAZY_INSTANCE_INITIALIZER; |
} // namespace |
@@ -573,8 +573,8 @@ void WebNavigationAPI::Shutdown() { |
EventRouter::Get(browser_context_)->UnregisterObserver(this); |
} |
-static base::LazyInstance<BrowserContextKeyedAPIFactory<WebNavigationAPI> > |
- g_factory = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<BrowserContextKeyedAPIFactory<WebNavigationAPI>>:: |
+ DestructorAtExit g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
BrowserContextKeyedAPIFactory<WebNavigationAPI>* |