summaryrefslogtreecommitdiffstats
path: root/base/lazy_instance_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/lazy_instance_unittest.cc')
-rw-r--r--base/lazy_instance_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/lazy_instance_unittest.cc b/base/lazy_instance_unittest.cc
index 9ccbbd5..1bd3ab4 100644
--- a/base/lazy_instance_unittest.cc
+++ b/base/lazy_instance_unittest.cc
@@ -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.
@@ -133,8 +133,7 @@ TEST(LazyInstanceTest, LeakyLazyInstance) {
bool deleted2 = false;
{
base::ShadowingAtExitManager shadow;
- static base::LazyInstance<DeleteLogger,
- base::LeakyLazyInstanceTraits<DeleteLogger> >
+ static base::LazyInstance<DeleteLogger>::Leaky
test = LAZY_INSTANCE_INITIALIZER;
test.Get().SetDeletedPtr(&deleted2);
}