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

Unified Diff: media/base/media_log.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 | « crypto/nss_util.cc ('k') | net/base/dns_reloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_log.cc
diff --git a/media/base/media_log.cc b/media/base/media_log.cc
index d223b51921a04079c7dda4bcf7d4ac7fca2f8483..d77b16ddd459140d7c5c3551a4a4a879a6cdc5de 100644
--- a/media/base/media_log.cc
+++ b/media/base/media_log.cc
@@ -18,9 +18,7 @@ namespace media {
// A count of all MediaLogs created on this render process.
// Used to generate unique ids.
-static base::LazyInstance<
- base::AtomicSequenceNumber,
- base::LeakyLazyInstanceTraits<base::AtomicSequenceNumber> > media_log_count =
+static base::LazyInstance<base::AtomicSequenceNumber>::Leaky media_log_count =
LAZY_INSTANCE_INITIALIZER;
const char* MediaLog::EventTypeToString(MediaLogEvent::Type type) {
« no previous file with comments | « crypto/nss_util.cc ('k') | net/base/dns_reloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698