| 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..b7ec42b21cea92aad3b7793e370d389cf864ccd7 100644
|
| --- a/components/metrics/call_stack_profile_collector.cc
|
| +++ b/components/metrics/call_stack_profile_collector.cc
|
| @@ -29,13 +29,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
|
|
|