From 67f92bc3e4a932b3a12693c0517653f08af87a83 Mon Sep 17 00:00:00 2001 From: "fischman@chromium.org" <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Thu, 26 Jan 2012 01:56:19 +0000 Subject: Convert all remaining explicit LeakyLazyInstanceTraits users to ::Leaky and hide LeakyLazyInstanceTraits in base::internal to discourage cargo-culting new users. BUG=none TEST=none Review URL: http://codereview.chromium.org/9117038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119173 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/metrics/thread_watcher.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome/browser/metrics/thread_watcher.cc') 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. -- cgit v1.1