| Index: testing/gmock_mutant.h
|
| diff --git a/testing/gmock_mutant.h b/testing/gmock_mutant.h
|
| index 961673fa110eb792d1ff3540f6c46721301b4398..2a41cf54da750fd265b35b49b362734a0901e19c 100644
|
| --- a/testing/gmock_mutant.h
|
| +++ b/testing/gmock_mutant.h
|
| @@ -113,6 +113,12 @@ CallbackToFunctor(const base::Callback<Signature>& cb) {
|
| return CallbackToFunctorHelper<Signature>(cb);
|
| }
|
|
|
| +template <typename Functor>
|
| +CallbackToFunctorHelper<typename Functor::RunType> CreateFunctor(
|
| + Functor functor) {
|
| + return CallbackToFunctor(functor);
|
| +}
|
| +
|
| template <typename Functor, typename... BoundArgs>
|
| CallbackToFunctorHelper<base::MakeUnboundRunType<Functor, BoundArgs...>>
|
| CreateFunctor(Functor functor, const BoundArgs&... args) {
|
|
|