Adapt /content/gpu to move-only thread options.
This change will let base::Thread::Options::delegate be a unique_ptr. This CL was uploaded by git cl split. Bug:1208166 R=kbr@chromium.org Change-Id: I6087d1ca106af1f39232c115dfd50cc0cd5d7ad9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2889635 Commit-Queue: Olivier Li <olivierli@chromium.org> Auto-Submit: Olivier Li <olivierli@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#882144}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
b92868a6a1
commit
a3c7155087
@ -467,7 +467,7 @@ bool StartSandboxLinux(gpu::GpuWatchdogThread* watchdog_thread,
|
||||
if (watchdog_thread) {
|
||||
base::Thread::Options thread_options;
|
||||
thread_options.timer_slack = base::TIMER_SLACK_MAXIMUM;
|
||||
watchdog_thread->StartWithOptions(thread_options);
|
||||
watchdog_thread->StartWithOptions(std::move(thread_options));
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user