| Index: content/renderer/devtools/v8_sampling_profiler_browsertest.cc
|
| diff --git a/content/renderer/devtools/v8_sampling_profiler_browsertest.cc b/content/renderer/devtools/v8_sampling_profiler_browsertest.cc
|
| index ac750b463e4515f0a3ce064bb3d94cb12e62a0cf..eb1f2af080f4b522152b5f48348ef186b433e68c 100644
|
| --- a/content/renderer/devtools/v8_sampling_profiler_browsertest.cc
|
| +++ b/content/renderer/devtools/v8_sampling_profiler_browsertest.cc
|
| @@ -2,15 +2,18 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "content/renderer/devtools/v8_sampling_profiler.h"
|
| +
|
| #include <stddef.h>
|
|
|
| +#include <utility>
|
| +
|
| #include "base/json/json_reader.h"
|
| #include "base/memory/ref_counted_memory.h"
|
| #include "base/run_loop.h"
|
| #include "base/trace_event/trace_buffer.h"
|
| #include "base/trace_event/trace_event.h"
|
| #include "content/public/test/render_view_test.h"
|
| -#include "content/renderer/devtools/v8_sampling_profiler.h"
|
|
|
| using base::DictionaryValue;
|
| using base::ListValue;
|
| @@ -75,7 +78,7 @@ class V8SamplingProfilerTest : public RenderViewTest {
|
| while (root_list->GetSize()) {
|
| std::unique_ptr<Value> item;
|
| root_list->Remove(0, &item);
|
| - trace_parsed_.Append(item.release());
|
| + trace_parsed_.Append(std::move(item));
|
| }
|
|
|
| if (!has_more_events)
|
|
|