Replace base::Callback in multibuffer source.
The callback (init_cb_) is effectively called only once. This is guaranteed by the std::move(): https://cs.chromium.org/chromium/src/media/blink/multibuffer_data_source.cc?rcl=8d2d53d6df3c7347f9d4c32074540b990a8f1736&l=631 This is part of the base::Callback migration. Context: https://cs.chromium.org/chromium/src/docs/callback.md?rcl=9fcc3764aea8f97e9f6de4a9ee61d554e67edcda&l=40 Change-Id: I1ba81f8b281339cf514baa7f6739425bb9b9988c Bug: 714018 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030962 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Auto-Submit: Jose Lopes <jabolopes@google.com> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#741166}
Showing
Please register or sign in to comment