Chromium Code Reviews| Index: base/bind_internal.h |
| diff --git a/base/bind_internal.h b/base/bind_internal.h |
| index c6832e6a479ed3da0a386855327de207e6fedca6..312f21b70638858423e6bbd7aaecd2fea30b8ec2 100644 |
| --- a/base/bind_internal.h |
| +++ b/base/bind_internal.h |
| @@ -362,17 +362,17 @@ struct Invoker<IndexSequence<bound_indices...>, |
| // |
| // BoundArgsType contains the storage type for all the bound arguments by |
| // (ab)using a function type. |
| -template <typename Runnable, typename RunType, typename BoundArgList> |
| +template <typename Runnable, typename RunType, typename... BoundArg> |
|
dcheng
2015/12/08 20:16:46
This should be BoundArgs since there may be more t
tzik
2015/12/09 07:03:15
Done. Also, removed the obsolete comments from lin
|
| struct BindState; |
| template <typename Runnable, |
| typename R, |
| typename... Args, |
| typename... BoundArgs> |
| -struct BindState<Runnable, R(Args...), TypeList<BoundArgs...>> final |
| +struct BindState<Runnable, R(Args...), BoundArgs...> final |
| : public BindStateBase { |
| private: |
| - using StorageType = BindState<Runnable, R(Args...), TypeList<BoundArgs...>>; |
| + using StorageType = BindState<Runnable, R(Args...), BoundArgs...>; |
| using RunnableType = Runnable; |
| // true_type if Runnable is a method invocation and the first bound argument |