| Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| index 119e5e6f2b90327caa62c37aabf3e0f4a29db958..e8c86d70d03b215101d41f0363c12ad3046f73d2 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| @@ -831,7 +831,7 @@ void ThreadState::scheduleIdleGC()
|
| if (!Platform::current()->currentThread()->scheduler())
|
| return;
|
|
|
| - Platform::current()->currentThread()->scheduler()->postNonNestableIdleTask(BLINK_FROM_HERE, WTF::bind<double>(&ThreadState::performIdleGC, this));
|
| + Platform::current()->currentThread()->scheduler()->postNonNestableIdleTask(BLINK_FROM_HERE, WTF::bind<double>(&ThreadState::performIdleGC, unretained(this)));
|
| setGCState(IdleGCScheduled);
|
| }
|
|
|
| @@ -845,7 +845,7 @@ void ThreadState::scheduleIdleLazySweep()
|
| if (!Platform::current()->currentThread()->scheduler())
|
| return;
|
|
|
| - Platform::current()->currentThread()->scheduler()->postIdleTask(BLINK_FROM_HERE, WTF::bind<double>(&ThreadState::performIdleLazySweep, this));
|
| + Platform::current()->currentThread()->scheduler()->postIdleTask(BLINK_FROM_HERE, WTF::bind<double>(&ThreadState::performIdleLazySweep, unretained(this)));
|
| }
|
|
|
| void ThreadState::schedulePreciseGC()
|
|
|