| Index: base/bind.h
|
| diff --git a/base/bind.h b/base/bind.h
|
| index 3a20feb79116c3b95179d6bdd25fe5e7f859d41d..46dbb913bee1d0bc17825fec1dbced0719c1b350 100644
|
| --- a/base/bind.h
|
| +++ b/base/bind.h
|
| @@ -55,7 +55,7 @@ struct MakeUnboundRunTypeImpl {
|
| typename BindState<
|
| typename FunctorTraits<Functor>::RunnableType,
|
| typename FunctorTraits<Functor>::RunType,
|
| - typename std::decay<Args>::type...>::UnboundRunType;
|
| + Args...>::UnboundRunType;
|
| };
|
|
|
| } // namespace internal
|
| @@ -100,8 +100,7 @@ Bind(Functor functor, Args&&... args) {
|
| !internal::HasRefCountedParamAsRawPtr<is_method, Args...>::value,
|
| "a parameter is a refcounted type and needs scoped_refptr");
|
|
|
| - using BindState = internal::BindState<
|
| - RunnableType, RunType, typename std::decay<Args>::type...>;
|
| + using BindState = internal::BindState<RunnableType, RunType, Args...>;
|
|
|
| return Callback<typename BindState::UnboundRunType>(
|
| new BindState(internal::MakeRunnable(functor),
|
|
|