diff options
Diffstat (limited to 'chromium/base/profiler/stack_sampler_android.cc')
-rw-r--r-- | chromium/base/profiler/stack_sampler_android.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/base/profiler/stack_sampler_android.cc b/chromium/base/profiler/stack_sampler_android.cc index e3190e3a69d..85b3626b53e 100644 --- a/chromium/base/profiler/stack_sampler_android.cc +++ b/chromium/base/profiler/stack_sampler_android.cc @@ -7,6 +7,7 @@ #include <pthread.h> #include "base/profiler/native_unwinder_android.h" +#include "base/profiler/stack_copier_signal.h" #include "base/profiler/stack_sampler_impl.h" #include "base/profiler/thread_delegate_android.h" #include "base/threading/platform_thread.h" @@ -18,7 +19,8 @@ std::unique_ptr<StackSampler> StackSampler::Create( ModuleCache* module_cache, StackSamplerTestDelegate* test_delegate) { return std::make_unique<StackSamplerImpl>( - std::make_unique<ThreadDelegateAndroid>(), + std::make_unique<StackCopierSignal>( + std::make_unique<ThreadDelegateAndroid>(thread_id)), std::make_unique<NativeUnwinderAndroid>(), module_cache, test_delegate); } |