| Index: base/mac/scoped_nsexception_enabler.mm
|
| diff --git a/base/mac/scoped_nsexception_enabler.mm b/base/mac/scoped_nsexception_enabler.mm
|
| index 52bddb2bb6e25143682acb35f3882db80a37eae7..989878909a2296f1b8c813a7016999ad0b89e75f 100644
|
| --- a/base/mac/scoped_nsexception_enabler.mm
|
| +++ b/base/mac/scoped_nsexception_enabler.mm
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -9,7 +9,6 @@
|
|
|
| // To make the |g_exceptionsAllowed| declaration readable.
|
| using base::LazyInstance;
|
| -using base::LeakyLazyInstanceTraits;
|
| using base::ThreadLocalBoolean;
|
|
|
| // When C++ exceptions are disabled, the C++ library defines |try| and
|
| @@ -24,7 +23,7 @@ using base::ThreadLocalBoolean;
|
| namespace {
|
|
|
| // Whether to allow NSExceptions to be raised on the current thread.
|
| -LazyInstance<ThreadLocalBoolean, LeakyLazyInstanceTraits<ThreadLocalBoolean> >
|
| +LazyInstance<ThreadLocalBoolean>::Leaky
|
| g_exceptionsAllowed = LAZY_INSTANCE_INITIALIZER;
|
|
|
| } // namespace
|
|
|