diff options
author | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-26 01:56:19 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-26 01:56:19 +0000 |
commit | 67f92bc3e4a932b3a12693c0517653f08af87a83 (patch) | |
tree | a0715e22db3af318f69ceb02abf5c07983b4ac1d /third_party | |
parent | 0f23fd7440d40e701c1dc455f41dc3127f71cb02 (diff) | |
download | chromium_src-67f92bc3e4a932b3a12693c0517653f08af87a83.zip chromium_src-67f92bc3e4a932b3a12693c0517653f08af87a83.tar.gz chromium_src-67f92bc3e4a932b3a12693c0517653f08af87a83.tar.bz2 |
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
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/leveldatabase/env_chromium.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc index 70f4659..2152256 100644 --- a/third_party/leveldatabase/env_chromium.cc +++ b/third_party/leveldatabase/env_chromium.cc @@ -544,7 +544,7 @@ void ChromiumEnv::StartThread(void (*function)(void* arg), void* arg) { new Thread(function, arg); // Will self-delete. } -::base::LazyInstance<ChromiumEnv, ::base::LeakyLazyInstanceTraits<ChromiumEnv> > +::base::LazyInstance<ChromiumEnv>::Leaky default_env = LAZY_INSTANCE_INITIALIZER; } |