| Index: third_party/WebKit/Source/platform/mojo/MojoHelper.h
|
| diff --git a/third_party/WebKit/Source/platform/mojo/MojoHelper.h b/third_party/WebKit/Source/platform/mojo/MojoHelper.h
|
| index be49353efad44073b68a043fbed0bfeb6c088826..b43f90252c6d6d712e84263f09d92f5097cadadd 100644
|
| --- a/third_party/WebKit/Source/platform/mojo/MojoHelper.h
|
| +++ b/third_party/WebKit/Source/platform/mojo/MojoHelper.h
|
| @@ -24,12 +24,6 @@ R CallWTFFunction(Function<R(Args...)>* functor, Args... args)
|
| }
|
|
|
| template <typename R, typename... Args>
|
| -base::Callback<R(Args...)> createBaseCallback(PassOwnPtr<Function<R(Args...)>> functor)
|
| -{
|
| - return base::Bind(&internal::CallWTFFunction<R, Args...>, base::Owned(functor.leakPtr()));
|
| -}
|
| -
|
| -template <typename R, typename... Args>
|
| base::Callback<R(Args...)> createBaseCallback(std::unique_ptr<Function<R(Args...)>> functor)
|
| {
|
| return base::Bind(&internal::CallWTFFunction<R, Args...>, base::Owned(functor.release()));
|
|
|