| Index: third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h
|
| diff --git a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h
|
| index 747b7dd9a09d70f32480ac3a6cf47a9c5eb8a200..f3368332e89ecd2a37661612ab7c92866a388e31 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h
|
| +++ b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h
|
| @@ -39,7 +39,7 @@ public:
|
| template<typename T>
|
| static std::unique_ptr<CancellableTaskFactory> create(T* thisObject, void (T::*method)(), typename std::enable_if<IsGarbageCollectedType<T>::value>::type* = nullptr)
|
| {
|
| - return wrapUnique(new CancellableTaskFactory(WTF::bind(method, CrossThreadWeakPersistentThisPointer<T>(thisObject))));
|
| + return wrapUnique(new CancellableTaskFactory(WTF::bind(method, wrapWeakPersistent(thisObject))));
|
| }
|
|
|
| template<typename T>
|
|
|