Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/input_method_api.cc
diff --git a/chrome/browser/chromeos/extensions/input_method_api.cc b/chrome/browser/chromeos/extensions/input_method_api.cc
index 610a0ca7132d20e7cfd261bd77756419785b65c9..305449f702f204c6afdfd0ddaef1e9eb7a590443 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.cc
+++ b/chrome/browser/chromeos/extensions/input_method_api.cc
@@ -367,8 +367,9 @@ void InputMethodAPI::OnListenerAdded(
}
}
-static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<InputMethodAPI>>::DestructorAtExit g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
BrowserContextKeyedAPIFactory<InputMethodAPI>*
« no previous file with comments | « chrome/browser/chromeos/extensions/gfx_utils.cc ('k') | chrome/browser/chromeos/extensions/media_player_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698