Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: components/metrics/child_call_stack_profile_collector_unittest.cc

Issue 2927593002: Make stack sampling profiler sample beyond startup. (Closed)
Patch Set: Address some comments. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/metrics/child_call_stack_profile_collector_unittest.cc
diff --git a/components/metrics/child_call_stack_profile_collector_unittest.cc b/components/metrics/child_call_stack_profile_collector_unittest.cc
index 9a3a67af92d5be1ddd7012df5ab6f7a7a7c1c44a..051ef38aa2ec11ef9be122225250f6301ba728b0 100644
--- a/components/metrics/child_call_stack_profile_collector_unittest.cc
+++ b/components/metrics/child_call_stack_profile_collector_unittest.cc
@@ -60,7 +60,9 @@ class ChildCallStackProfileCollectorTest : public testing::Test {
base::StackSamplingProfiler::CallStackProfiles profiles;
for (size_t i = 0; i < profile_count; ++i)
profiles.push_back(base::StackSamplingProfiler::CallStackProfile());
- child_collector_.GetProfilerCallback(params).Run(std::move(profiles));
+ base::StackSamplingProfiler::SamplingParams sampling_params;
+ child_collector_.GetProfilerCallback(params).Run(std::move(profiles),
+ &sampling_params);
}
const std::vector<ChildCallStackProfileCollector::ProfilesState>&

Powered by Google App Engine
This is Rietveld 408576698