Index: chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
index 1b9765f27168315369a6e87c3888d0c308321f4f..8955c29f1d4b45f59b14bd87829646ff43af7286 100644 |
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc |
@@ -316,8 +316,8 @@ void MediaGalleriesEventRouter::Shutdown() { |
} |
static base::LazyInstance< |
- BrowserContextKeyedAPIFactory<MediaGalleriesEventRouter> > g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+ BrowserContextKeyedAPIFactory<MediaGalleriesEventRouter>>::DestructorAtExit |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
BrowserContextKeyedAPIFactory<MediaGalleriesEventRouter>* |