summaryrefslogtreecommitdiffstats
path: root/chromium/base/profiler/stack_sampler_win.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-23 17:21:03 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-01-23 16:25:15 +0000
commitc551f43206405019121bd2b2c93714319a0a3300 (patch)
tree1f48c30631c421fd4bbb3c36da20183c8a2ed7d7 /chromium/base/profiler/stack_sampler_win.cc
parent7961cea6d1041e3e454dae6a1da660b453efd238 (diff)
BASELINE: Update Chromium to 79.0.3945.139
Change-Id: I336b7182fab9bca80b709682489c07db112eaca5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/profiler/stack_sampler_win.cc')
-rw-r--r--chromium/base/profiler/stack_sampler_win.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/base/profiler/stack_sampler_win.cc b/chromium/base/profiler/stack_sampler_win.cc
index fb09fb79709..83307609aa1 100644
--- a/chromium/base/profiler/stack_sampler_win.cc
+++ b/chromium/base/profiler/stack_sampler_win.cc
@@ -5,8 +5,9 @@
#include "base/profiler/stack_sampler.h"
#include "base/profiler/native_unwinder_win.h"
+#include "base/profiler/stack_copier_suspend.h"
#include "base/profiler/stack_sampler_impl.h"
-#include "base/profiler/thread_delegate_win.h"
+#include "base/profiler/suspendable_thread_delegate_win.h"
#include "build/build_config.h"
namespace base {
@@ -18,7 +19,8 @@ std::unique_ptr<StackSampler> StackSampler::Create(
StackSamplerTestDelegate* test_delegate) {
#if defined(ARCH_CPU_X86_64) || defined(ARCH_CPU_ARM64)
return std::make_unique<StackSamplerImpl>(
- std::make_unique<ThreadDelegateWin>(thread_id),
+ std::make_unique<StackCopierSuspend>(
+ std::make_unique<SuspendableThreadDelegateWin>(thread_id)),
std::make_unique<NativeUnwinderWin>(), module_cache, test_delegate);
#else
return nullptr;