| Index: components/metrics/leak_detector/leak_detector_impl_unittest.cc
|
| diff --git a/components/metrics/leak_detector/leak_detector_impl_unittest.cc b/components/metrics/leak_detector/leak_detector_impl_unittest.cc
|
| index 5035271fd404b1edfefd458d54e6d5e2ba1a94d6..aa673bf4522941d9a76d31e930a3cecf4e56c7b3 100644
|
| --- a/components/metrics/leak_detector/leak_detector_impl_unittest.cc
|
| +++ b/components/metrics/leak_detector/leak_detector_impl_unittest.cc
|
| @@ -9,12 +9,12 @@
|
| #include <stdint.h>
|
|
|
| #include <complex>
|
| +#include <memory>
|
| #include <new>
|
| #include <set>
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "components/metrics/leak_detector/custom_allocator.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -230,7 +230,7 @@ class LeakDetectorImplTest : public ::testing::Test {
|
| void JuliaSet(bool enable_leaks);
|
|
|
| // Instance of the class being tested.
|
| - scoped_ptr<LeakDetectorImpl> detector_;
|
| + std::unique_ptr<LeakDetectorImpl> detector_;
|
|
|
| // Number of pointers allocated and freed so far.
|
| size_t total_num_allocs_;
|
|
|