Commit bcc2327a authored by Gabriel Charette's avatar Gabriel Charette Committed by Commit Bot

[ThreadPool] Add missing static keyword on new base::ThreadPool::PostTaskAndReplyWithResult API

TBR=fdoray@chromium.org

Bug: 1026641
Change-Id: Id22f4e3e66ce2127e4cec8a9ceddcf63c107abbf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026311Reviewed-by: default avatarGabriel Charette <gab@chromium.org>
Commit-Queue: Gabriel Charette <gab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736218}
parent 9a65dc45
......@@ -172,7 +172,8 @@ class BASE_EXPORT ThreadPool {
typename TaskReturnType,
typename ReplyArgType,
typename = EnableIfIsBaseCallback<CallbackType>>
bool PostTaskAndReplyWithResult(const Location& from_here,
static bool PostTaskAndReplyWithResult(
const Location& from_here,
const TaskTraits& traits,
CallbackType<TaskReturnType()> task,
CallbackType<void(ReplyArgType)> reply) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment