Chromium Code Reviews| Index: components/metrics/call_stack_profile_metrics_provider.h |
| diff --git a/components/metrics/call_stack_profile_metrics_provider.h b/components/metrics/call_stack_profile_metrics_provider.h |
| index d26000be087ba95a7242dd8c945431f2105b9229..ab13d46d126b6930d715e40143c2b8778eafac96 100644 |
| --- a/components/metrics/call_stack_profile_metrics_provider.h |
| +++ b/components/metrics/call_stack_profile_metrics_provider.h |
| @@ -35,7 +35,7 @@ class CallStackProfileMetricsProvider : public MetricsProvider { |
| static void ReceiveCompletedProfiles( |
| const CallStackProfileParams& params, |
| base::TimeTicks start_timestamp, |
| - const base::StackSamplingProfiler::CallStackProfiles& profiles); |
| + base::StackSamplingProfiler::CallStackProfiles profiles); |
|
Alexei Svitkine (slow)
2016/10/24 15:26:22
Passing by non-const ref that results in a copy is
bcwhite
2016/10/24 21:30:30
CallStackProfiles doesn't allow copy so only std::
Alexei Svitkine (slow)
2016/10/25 14:34:04
Sorry, I don't think I'm following. But maybe I do
bcwhite
2016/10/25 15:01:04
std::vector supports both copy and move constructi
Alexei Svitkine (slow)
2016/10/25 15:21:18
OK, so given the above, please add a comment to ea
bcwhite
2016/10/25 17:16:21
Done.
|
| // MetricsProvider: |
| void OnRecordingEnabled() override; |