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

Unified Diff: content/browser/android/java/jni_helper.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: content/browser/android/java/jni_helper.cc
diff --git a/content/browser/android/java/jni_helper.cc b/content/browser/android/java/jni_helper.cc
index 09026e77952a3f6ac44300a1e2abf336dfa20712..f9cd640aac7cf10cd254a51ebe3a1b4f7e445756 100644
--- a/content/browser/android/java/jni_helper.cc
+++ b/content/browser/android/java/jni_helper.cc
@@ -44,7 +44,8 @@ const base::subtle::AtomicWord kUnlocked = 0;
const base::subtle::AtomicWord kLocked = 1;
base::subtle::AtomicWord g_method_id_map_lock = kUnlocked;
-base::LazyInstance<MethodIDMap> g_method_id_map = LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<MethodIDMap>::DestructorAtExit g_method_id_map =
+ LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « content/browser/android/java/java_bridge_thread.cc ('k') | content/browser/appcache/appcache_navigation_handle_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698