| 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 def31586e816696868cbf0e30ca4978495823e27..be49353efad44073b68a043fbed0bfeb6c088826 100644
|
| --- a/third_party/WebKit/Source/platform/mojo/MojoHelper.h
|
| +++ b/third_party/WebKit/Source/platform/mojo/MojoHelper.h
|
| @@ -23,17 +23,6 @@ R CallWTFFunction(Function<R(Args...)>* functor, Args... args)
|
|
|
| }
|
|
|
| -// Binds an instance of a class to its member function. Does not bind anything
|
| -// else. Provides limited access to base::Bind() function. base::Bind() could
|
| -// be dangerous if it's used across threads, so we don't want to allow general
|
| -// use of base::Bind(). See also "platform/ThreadSafeFunctional.h".
|
| -template <typename Class, typename ReturnType, typename... Args>
|
| -mojo::Callback<ReturnType(Args...)>
|
| -sameThreadBindForMojo(ReturnType (Class::*method)(Args...), Class* instance)
|
| -{
|
| - return base::Bind(method, base::Unretained(instance));
|
| -}
|
| -
|
| template <typename R, typename... Args>
|
| base::Callback<R(Args...)> createBaseCallback(PassOwnPtr<Function<R(Args...)>> functor)
|
| {
|
|
|