Skip to content

Commit

Permalink
Adapt /base/fuchsia to move-only thread options.
Browse files Browse the repository at this point in the history
This change will let PlatformThread::Delegate::Options::delegate be a unique_ptr.
This CL was uploaded by git cl split.

Bug:1208166

R=ddorwin@chromium.org

Change-Id: Ide0d950cfc41b0be6a202195a920874ec78c7587
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2890389
Commit-Queue: Olivier Li <olivierli@chromium.org>
Auto-Submit: Olivier Li <olivierli@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#881868}
  • Loading branch information
OlivierLi authored and Chromium LUCI CQ committed May 12, 2021
1 parent 1a54c07 commit 442a88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/fuchsia/intl_profile_watcher_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class FakePropertyProviderAsync {
provider_request)
: thread_("Property Provider Thread") {
base::Thread::Options options(base::MessagePumpType::IO, 0);
CHECK(thread_.StartWithOptions(options));
CHECK(thread_.StartWithOptions(std::move(options)));
property_provider_ = base::SequenceBound<FakePropertyProvider>(
thread_.task_runner(), std::move(provider_request));
}
Expand Down

0 comments on commit 442a88d

Please sign in to comment.