| Index: base/profiler/stack_sampling_profiler_unittest.cc
|
| diff --git a/base/profiler/stack_sampling_profiler_unittest.cc b/base/profiler/stack_sampling_profiler_unittest.cc
|
| index fad25a5929389512a47fc5095ffdbe9ab3c4f29e..12a05e150179c9a12c3cdadbb236343305f7a6cf 100644
|
| --- a/base/profiler/stack_sampling_profiler_unittest.cc
|
| +++ b/base/profiler/stack_sampling_profiler_unittest.cc
|
| @@ -790,7 +790,7 @@ TEST(StackSamplingProfilerTest, MAYBE_DestroyProfilerWhileProfiling) {
|
|
|
| CallStackProfiles profiles;
|
| WithTargetThread([¶ms, &profiles](PlatformThreadId target_thread_id) {
|
| - scoped_ptr<StackSamplingProfiler> profiler;
|
| + std::unique_ptr<StackSamplingProfiler> profiler;
|
| profiler.reset(new StackSamplingProfiler(
|
| target_thread_id, params, Bind(&SaveProfiles, Unretained(&profiles))));
|
| profiler->Start();
|
|
|