| Index: third_party/WebKit/Source/platform/ThreadSafeFunctional.h
|
| diff --git a/third_party/WebKit/Source/platform/ThreadSafeFunctional.h b/third_party/WebKit/Source/platform/ThreadSafeFunctional.h
|
| index b8f9c1e05ce01062d907e8545893781daecb5c0d..855cdb558b9bdd4486ce433cbbd05c37bb4cf2da 100644
|
| --- a/third_party/WebKit/Source/platform/ThreadSafeFunctional.h
|
| +++ b/third_party/WebKit/Source/platform/ThreadSafeFunctional.h
|
| @@ -27,11 +27,12 @@ namespace blink {
|
| // bind(func1, 42, str.isolatedCopy());
|
|
|
| template<typename... FreeVariableTypes, typename FunctionType, typename... Ps>
|
| -PassOwnPtr<Function<typename WTF::FunctionWrapper<FunctionType>::ResultType(FreeVariableTypes...)>> threadSafeBind(
|
| +PassOwnPtr<Function<typename WTF::FunctionWrapper<FunctionType>::ResultType(FreeVariableTypes...), WTF::CrossThreadAffinity>> threadSafeBind(
|
| FunctionType function,
|
| const Ps&... parameters)
|
| {
|
| - return bind<FreeVariableTypes...>(function,
|
| + return WTF::bindInternal<WTF::CrossThreadAffinity, FreeVariableTypes...>(
|
| + function,
|
| CrossThreadCopier<Ps>::copy(parameters)...);
|
| }
|
|
|
|
|