| 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 8b54a781330c8a2958b95bfcf92ffcdbcddeb299..aaa3c50ffc01302dcce7036bf12c7bb7d52dc740 100644
|
| --- a/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h
|
| +++ b/third_party/WebKit/Source/platform/scheduler/CancellableTaskFactory.h
|
| @@ -45,7 +45,7 @@ public:
|
| template<typename T>
|
| static PassOwnPtr<CancellableTaskFactory> create(T* thisObject, void (T::*method)(), typename std::enable_if<!IsGarbageCollectedType<T>::value>::type* = nullptr)
|
| {
|
| - return adoptPtr(new CancellableTaskFactory(WTF::bind(method, thisObject)));
|
| + return adoptPtr(new CancellableTaskFactory(WTF::bind(method, unretained(thisObject))));
|
| }
|
|
|
| bool isPending() const
|
|
|