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

Unified Diff: content/browser/android/content_view_statics.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/browser/android/content_view_statics.cc
diff --git a/content/browser/android/content_view_statics.cc b/content/browser/android/content_view_statics.cc
index b0f43af4262a9a16f3cca142cc368282ecedcf5b..1110b75d3598f9f85c51574590d91eb74a832a63 100644
--- a/content/browser/android/content_view_statics.cc
+++ b/content/browser/android/content_view_statics.cc
@@ -92,8 +92,8 @@ class SuspendedProcessWatcher : public content::RenderProcessHostObserver {
std::vector<int /* RenderProcessHost id */> suspended_processes_;
};
-base::LazyInstance<SuspendedProcessWatcher> g_suspended_processes_watcher =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<SuspendedProcessWatcher>::DestructorAtExit
+ g_suspended_processes_watcher = LAZY_INSTANCE_INITIALIZER;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698