Use base::BindPostTask() in components/paint_preview/*
Replace BindToTaskRunner() to with base::BindPostTask(). The only functionality change is the base version ensures the callback is destroyed on the bound task runner, even if the callback is never invoked, so that any curried variables are destroyed on the right task runner. Bug: 1140582 Change-Id: I713f5e63a5eac63322808b75dac52693afbcdadb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536786Reviewed-by:Calder Kitagawa <ckitagawa@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#828759}
Showing
Please register or sign in to comment