| Index: chrome/browser/metrics/thread_watcher.cc
|
| diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc
|
| index 7fcbbf158d8f670e330feb23e86bfca8c6b00363..ee0a7646dd4fb6165c7d412a251faee72273d5c8 100644
|
| --- a/chrome/browser/metrics/thread_watcher.cc
|
| +++ b/chrome/browser/metrics/thread_watcher.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/debug/dump_without_crashing.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/location.h"
|
| +#include "base/metrics/call_stack_profile_params.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_tokenizer.h"
|
| @@ -954,9 +955,8 @@ void JankTimeBomb::Alarm(base::PlatformThreadId thread_id) {
|
| thread_id,
|
| GetJankTimeBombSamplingParams(),
|
| metrics::CallStackProfileMetricsProvider::GetProfilerCallback(
|
| - metrics::CallStackProfileMetricsProvider::Params(
|
| - metrics::CallStackProfileMetricsProvider::JANKY_TASK,
|
| - true))));
|
| + base::CallStackProfileParams(base::CallStackProfileParams::JANKY_TASK,
|
| + true))));
|
| // Use synchronous profiler. It will automatically stop collection when
|
| // destroyed.
|
| sampling_profiler_->Start();
|
|
|