Chromium Code Reviews
DescriptionRewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/media_galleries
This is a generated CL by a clang refactoring tool at //tools/clang/base_bind_rewriters.
The tool rewrites base::Bind to base::BindOnce where the resulting Callback
is immediately converted to OnceCallback.
E.g.:
base::PostTask(FROM_HERE, base::Bind(&Foo));
is rewritten to:
base::PostTask(FROM_HERE, base::BindOnce(&Foo));
In terms of the behavior change after the rewrite, the OnceCallback
implementation moves out the bound argument to the target function, unlike
Callback.
BUG=554299
Review-Url: https://codereview.chromium.org/2827853003
Cr-Commit-Position: refs/heads/master@{#465766}
Committed: https://chromium.googlesource.com/chromium/src/+/2edbc3bc672529ac4719225697cfb4085dfd0c18
Patch Set 1 #Messages
Total messages: 12 (8 generated)
|