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

Unified Diff: content/app/android/content_main.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: 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/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

Powered by Google App Engine
This is Rietveld 408576698