[base] Apply BindOnceRewriter in //media
This change applies the BindOnceRewriter in //media. This rewriter replaces calls to base::Bind and base::BindRepeating with calls to base::BindOnce, in case the result is immediately assigned to a base::OnceCallback. Given that base::RepeatingCallback is implicitly convertible to base::OnceCallback, there is no change in functionality. Steps: 1. run_tool.py --tool base_bind_rewriters \ --tool-arg='--rewriter=bind_to_bind_once' 2. git cl format This CL was uploaded by git cl split. R=jcliang@chromium.org Bug: 714018 Change-Id: I51100250f1323f6a5fdc55060fb41d6fcb4dbf04 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132450 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by:Ricky Liang <jcliang@chromium.org> Reviewed-by:
Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
Alexandre Courbot <acourbot@chromium.org> Cr-Commit-Position: refs/heads/master@{#760410}
Showing
Please register or sign in to comment