| Index: components/metrics/call_stack_profile_collector.cc
|
| diff --git a/components/metrics/call_stack_profile_collector.cc b/components/metrics/call_stack_profile_collector.cc
|
| index cbf466f859a413086348874383abd96fe6d85c62..71f45df07906b46b76f910fd8313e088a6f91a58 100644
|
| --- a/components/metrics/call_stack_profile_collector.cc
|
| +++ b/components/metrics/call_stack_profile_collector.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/metrics/call_stack_profile_collector.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/memory/ptr_util.h"
|
| #include "components/metrics/call_stack_profile_metrics_provider.h"
|
| #include "mojo/public/cpp/bindings/interface_request.h"
|
| @@ -29,13 +31,12 @@ void CallStackProfileCollector::Create(
|
| void CallStackProfileCollector::Collect(
|
| const CallStackProfileParams& params,
|
| base::TimeTicks start_timestamp,
|
| - const std::vector<CallStackProfile>& profiles) {
|
| + std::vector<CallStackProfile> profiles) {
|
| if (params.process != expected_process_)
|
| return;
|
|
|
| - CallStackProfileMetricsProvider::ReceiveCompletedProfiles(params,
|
| - start_timestamp,
|
| - profiles);
|
| + CallStackProfileMetricsProvider::ReceiveCompletedProfiles(
|
| + params, start_timestamp, std::move(profiles));
|
| }
|
|
|
| } // namespace metrics
|
|
|