Index: extensions/browser/api/power/power_api.cc |
diff --git a/extensions/browser/api/power/power_api.cc b/extensions/browser/api/power/power_api.cc |
index b2642df842df5d234807da18158e023fc28460b2..5468932facbed0abfd7b76698b518f63cfe1f27d 100644 |
--- a/extensions/browser/api/power/power_api.cc |
+++ b/extensions/browser/api/power/power_api.cc |
@@ -31,8 +31,8 @@ device::PowerSaveBlocker::PowerSaveBlockerType LevelToPowerSaveBlockerType( |
return device::PowerSaveBlocker::kPowerSaveBlockPreventDisplaySleep; |
} |
-base::LazyInstance<BrowserContextKeyedAPIFactory<PowerAPI>> g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<BrowserContextKeyedAPIFactory<PowerAPI>>::DestructorAtExit |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
std::unique_ptr<device::PowerSaveBlocker> CreatePowerSaveBlocker( |
device::PowerSaveBlocker::PowerSaveBlockerType type, |