diff options
Diffstat (limited to 'base/third_party/dmg_fp/dtoa_wrapper.cc')
-rw-r--r-- | base/third_party/dmg_fp/dtoa_wrapper.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/base/third_party/dmg_fp/dtoa_wrapper.cc b/base/third_party/dmg_fp/dtoa_wrapper.cc index 21c4dc3..ca49607 100644 --- a/base/third_party/dmg_fp/dtoa_wrapper.cc +++ b/base/third_party/dmg_fp/dtoa_wrapper.cc @@ -10,8 +10,12 @@ // We need two locks because they're sometimes grabbed at the same time. // A single lock would lead to an attempted recursive grab. -static base::LazyInstance<base::Lock> dtoa_lock_0(base::LINKER_INITIALIZED); -static base::LazyInstance<base::Lock> dtoa_lock_1(base::LINKER_INITIALIZED); +static base::LazyInstance<base::Lock, + base::LeakyLazyInstanceTraits<base::Lock> > + dtoa_lock_0(base::LINKER_INITIALIZED); +static base::LazyInstance<base::Lock, + base::LeakyLazyInstanceTraits<base::Lock> > + dtoa_lock_1(base::LINKER_INITIALIZED); /* * This define and the code below is to trigger thread-safe behavior |