| Index: base/bind_internal.h
|
| diff --git a/base/bind_internal.h b/base/bind_internal.h
|
| index 83e000dacdb7b197ecfa26b149ab949e07a295fb..0c7c8abda227de1cb2b29c2ab211106c20a5a8c9 100644
|
| --- a/base/bind_internal.h
|
| +++ b/base/bind_internal.h
|
| @@ -379,8 +379,10 @@ IsNull(const Functor&) {
|
| template <typename Functor, typename... BoundArgs>
|
| struct BindState final : BindStateBase {
|
| template <typename ForwardFunctor, typename... ForwardBoundArgs>
|
| - explicit BindState(ForwardFunctor&& functor, ForwardBoundArgs&&... bound_args)
|
| - : BindStateBase(&Destroy),
|
| + explicit BindState(BindStateBase::InvokeFuncStorage invoke_func,
|
| + ForwardFunctor&& functor,
|
| + ForwardBoundArgs&&... bound_args)
|
| + : BindStateBase(invoke_func, &Destroy),
|
| functor_(std::forward<ForwardFunctor>(functor)),
|
| bound_args_(std::forward<ForwardBoundArgs>(bound_args)...) {
|
| DCHECK(!IsNull(functor_));
|
|
|