0

[code health] Convert content/utility away from base::Bind

base::Bind is deprecated in favor of base::BindOnce or
base::BindRepeating depending on whether the callback is invoked once
or multiple times.

Bug: 1007777
Change-Id: Ia24167c85acd53947f53f26b77e2264ac95131d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1923985
Auto-Submit: Yuzu Saijo <yuzus@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Yuzu Saijo <yuzus@chromium.org>
Cr-Commit-Position: refs/heads/master@{#716918}
This commit is contained in:
Yuzu Saijo
2019-11-20 08:49:49 +00:00
committed by Commit Bot
parent b60e1aaab5
commit 5bce659d76

@ -81,7 +81,7 @@ class ContentCdmServiceClient final : public media::CdmService::Client {
std::unique_ptr<media::CdmFactory> CreateCdmFactory(
service_manager::mojom::InterfaceProvider* host_interfaces) override {
return std::make_unique<media::CdmAdapterFactory>(
base::Bind(&CreateCdmHelper, host_interfaces));
base::BindRepeating(&CreateCdmHelper, host_interfaces));
}
#if BUILDFLAG(ENABLE_CDM_HOST_VERIFICATION)