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

Unified Diff: base/threading/platform_thread_posix.cc

Issue 9117038: Convert all remaining explicit LeakyLazyInstanceTraits users to ::Leaky (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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: base/threading/platform_thread_posix.cc
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc
index 27e666a870deaf5758d0512abc273563022e90d6..978b21b80c919e6a96aba0c87ad3109933779eb4 100644
--- a/base/threading/platform_thread_posix.cc
+++ b/base/threading/platform_thread_posix.cc
@@ -40,8 +40,7 @@ namespace {
#if !defined(OS_MACOSX)
// Mac name code is in in platform_thread_mac.mm.
-LazyInstance<ThreadLocalPointer<char>,
- LeakyLazyInstanceTraits<ThreadLocalPointer<char> > >
+LazyInstance<ThreadLocalPointer<char> >::Leaky
current_thread_name = LAZY_INSTANCE_INITIALIZER;
#endif

Powered by Google App Engine
This is Rietveld 408576698