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

Unified Diff: content/public/renderer/render_thread.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/public/renderer/render_thread.cc
diff --git a/content/public/renderer/render_thread.cc b/content/public/renderer/render_thread.cc
index ef04a50dd3b31cdfdf8c30e60bb5e602cfec3d2a..4cc2c50f733dbb917ca23a3379bb21538db7a798 100644
--- a/content/public/renderer/render_thread.cc
+++ b/content/public/renderer/render_thread.cc
@@ -11,7 +11,8 @@ namespace content {
// Keep the global RenderThread in a TLS slot so it is impossible to access
// incorrectly from the wrong thread.
-static base::LazyInstance<base::ThreadLocalPointer<RenderThread> > lazy_tls =
+static base::LazyInstance<
+ base::ThreadLocalPointer<RenderThread>>::DestructorAtExit lazy_tls =
LAZY_INSTANCE_INITIALIZER;
RenderThread* RenderThread::Get() {
« no previous file with comments | « content/public/renderer/render_frame_observer_tracker.h ('k') | content/public/renderer/render_view_observer_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698