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

Unified Diff: content/app/android/content_main.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
« no previous file with comments | « content/app/android/child_process_service_impl.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/content_main.cc
diff --git a/content/app/android/content_main.cc b/content/app/android/content_main.cc
index 1c82788b67fc794d9ab30032de29c78049f06e54..d6a1eecff0cfaf7bc6f63827418ef58066107954 100644
--- a/content/app/android/content_main.cc
+++ b/content/app/android/content_main.cc
@@ -23,11 +23,11 @@ using base::android::JavaParamRef;
namespace content {
namespace {
-LazyInstance<std::unique_ptr<ContentMainRunner>> g_content_runner =
- LAZY_INSTANCE_INITIALIZER;
+LazyInstance<std::unique_ptr<ContentMainRunner>>::DestructorAtExit
+ g_content_runner = LAZY_INSTANCE_INITIALIZER;
-LazyInstance<std::unique_ptr<ContentMainDelegate>> g_content_main_delegate =
- LAZY_INSTANCE_INITIALIZER;
+LazyInstance<std::unique_ptr<ContentMainDelegate>>::DestructorAtExit
+ g_content_main_delegate = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « content/app/android/child_process_service_impl.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698