Index: extensions/browser/api/serial/serial_connection.cc |
diff --git a/extensions/browser/api/serial/serial_connection.cc b/extensions/browser/api/serial/serial_connection.cc |
index adf1e4aa753e7b2f380ba2c4212339df8f963e07..f6a5eb19aca245e722d85905175f7b13cde92c04 100644 |
--- a/extensions/browser/api/serial/serial_connection.cc |
+++ b/extensions/browser/api/serial/serial_connection.cc |
@@ -146,9 +146,9 @@ device::serial::StopBits ConvertStopBitsToMojo(api::serial::StopBits input) { |
} // namespace |
-static base::LazyInstance< |
- BrowserContextKeyedAPIFactory<ApiResourceManager<SerialConnection> > > |
- g_factory = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<BrowserContextKeyedAPIFactory< |
+ ApiResourceManager<SerialConnection>>>::DestructorAtExit g_factory = |
+ LAZY_INSTANCE_INITIALIZER; |
// static |
template <> |