arc: vm: libvda: use std::move with base::BindOnce
After libchrome r890000 uprev, base::Passed will be forbidden to use
with base::BindOnce.
BUG=b:190446478
TEST=FEATURES=test emerge-hatch libvda
tast run $hatch-DUT arc.VideoDecodeAccel.*_vm
Change-Id: Idea5c1af937022cb86c45329aa8b3f5acee26cce
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/3083212
Tested-by: Grace Cham <hscham@chromium.org>
Reviewed-by: David Staessens <dstaessens@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Commit-Queue: Grace Cham <hscham@chromium.org>
diff --git a/arc/vm/libvda/encode/gpu/gpu_vea_impl.cc b/arc/vm/libvda/encode/gpu/gpu_vea_impl.cc
index 7f973a5..97f8940 100644
--- a/arc/vm/libvda/encode/gpu/gpu_vea_impl.cc
+++ b/arc/vm/libvda/encode/gpu/gpu_vea_impl.cc
@@ -181,7 +181,7 @@
remote_vea_->Initialize(
std::move(mojo_config), std::move(remote_client),
base::BindOnce(&GpuVeaContext::OnInitialized, base::Unretained(this),
- base::Passed(std::move(callback))));
+ std::move(callback)));
}
void GpuVeaContext::OnInitialized(