Support OnceCallback on cc::BlockingTaskRunner

Desktop / Chromium - tzik [chromium.org] - 13 July 2017 22:33 EDT

This CL modifies a cc::BlockingTaskRunner::PostTask's argument from base::Callback to base::OnceCallback, so that it can take OnceCallback in addition to base::Callback via Callback to OnceCallback conversion.

Change-Id: If45f17bf53ca56162cfa66cfa3cd9d02bbca7d42 Reviewed-on: https://chromium-review.googlesource.com/570079

442721e Support OnceCallback on cc::BlockingTaskRunner
cc/trees/blocking_task_runner.cc | 10 +++++-----
cc/trees/blocking_task_runner.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)

Upstream: git.chromium.org


  • Share