commit | 084f1aee90def7edd1ed28e876da5bd063df1f73 | [log] [tgz] |
---|---|---|
author | Miguel Casas <mcasas@chromium.org> | Thu Feb 01 18:25:29 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 01 18:25:29 2018 |
tree | a14ad3d3f31f8128f97aa688b17f9d022d4ffc0a | |
parent | 8ffb5ff4e8230ebd59e0752a5108010ab9e3d5f5 [diff] |
GpuMemoryBufferVideoFramePool: use BindOnce/OnceCallback Every git cl upload I get a bunch of presubmits like: Please consider using base::Bind{Once,Repeating} instead of base::Bind. (crbug.com/714018) So this CL does the transition: Bind --> BindOnce, Closure --> OnceClosure, Callback --> OnceCallback, use of Base::Passed(), in method signatures, we change const & to moving the argument, and instead Run()ning the Callback we use std::move(cb).Run(). Threw in a few consts where applicable. No new code otherwise, tests (and asan etc) should cover it all. Bug: 803975, 714018 Change-Id: I48338984a99627b5de34c5da45dadbdc7c0409e5 Reviewed-on: https://chromium-review.googlesource.com/893822 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Daniele Castagna <dcastagna@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#533741}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .