diff options
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r-- | chrome/browser/metrics/metrics_log.cc | 3 | ||||
-rw-r--r-- | chrome/browser/metrics/thread_watcher.cc | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/metrics/metrics_log.cc b/chrome/browser/metrics/metrics_log.cc index b550421..77a0ea2 100644 --- a/chrome/browser/metrics/metrics_log.cc +++ b/chrome/browser/metrics/metrics_log.cc @@ -66,8 +66,7 @@ PluginPrefs* GetPluginPrefs() { } // namespace -static base::LazyInstance<std::string, - base::LeakyLazyInstanceTraits<std::string > > +static base::LazyInstance<std::string>::Leaky g_version_extension = LAZY_INSTANCE_INITIALIZER; MetricsLog::MetricsLog(const std::string& client_id, int session_id) diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc index c33bc59..e9e1f4b 100644 --- a/chrome/browser/metrics/thread_watcher.cc +++ b/chrome/browser/metrics/thread_watcher.cc @@ -707,8 +707,7 @@ void ThreadWatcherObserver::Observe( // WatchDogThread methods and members. // This lock protects g_watchdog_thread. -static base::LazyInstance<base::Lock, - base::LeakyLazyInstanceTraits<base::Lock> > +static base::LazyInstance<base::Lock>::Leaky g_watchdog_lock = LAZY_INSTANCE_INITIALIZER; // The singleton of this class. |