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

Unified Diff: chrome/common/profiling.cc

Issue 9192024: Add a convenience typedef LazyInstance<T>::Leaky to avoid repeating T. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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
« no previous file with comments | « base/win/sampling_profiler.cc ('k') | crypto/nss_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/profiling.cc
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc
index f355052ca7a918c146622454ac0e4352fed80054..c545b858f8d9c46cc0a0b867d093c44176082fc9 100644
--- a/chrome/common/profiling.cc
+++ b/chrome/common/profiling.cc
@@ -89,8 +89,7 @@ class ProfilingThreadControl {
DISALLOW_COPY_AND_ASSIGN(ProfilingThreadControl);
};
-base::LazyInstance<ProfilingThreadControl,
- base::LeakyLazyInstanceTraits<ProfilingThreadControl> >
+base::LazyInstance<ProfilingThreadControl>::Leaky
g_flush_thread_control = LAZY_INSTANCE_INITIALIZER;
} // namespace
« no previous file with comments | « base/win/sampling_profiler.cc ('k') | crypto/nss_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698