| 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 58959df2143b8b26f228752d7b98f3d83ed34d08..4b975f7563be186de4180620a0a86bc2c6d30bfa 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| @@ -789,7 +789,7 @@ void ThreadState::scheduleIdleGC()
|
| if (!Platform::current()->currentThread()->scheduler())
|
| return;
|
|
|
| - Platform::current()->currentThread()->scheduler()->postNonNestableIdleTask(BLINK_FROM_HERE, WTF::bind(&ThreadState::performIdleGC, this));
|
| + Platform::current()->currentThread()->scheduler()->postNonNestableIdleTask(BLINK_FROM_HERE, WTF::bind(&ThreadState::performIdleGC, WTF::unretained(this)));
|
| setGCState(IdleGCScheduled);
|
| }
|
|
|
| @@ -803,7 +803,7 @@ void ThreadState::scheduleIdleLazySweep()
|
| if (!Platform::current()->currentThread()->scheduler())
|
| return;
|
|
|
| - Platform::current()->currentThread()->scheduler()->postIdleTask(BLINK_FROM_HERE, WTF::bind(&ThreadState::performIdleLazySweep, this));
|
| + Platform::current()->currentThread()->scheduler()->postIdleTask(BLINK_FROM_HERE, WTF::bind(&ThreadState::performIdleLazySweep, WTF::unretained(this)));
|
| }
|
|
|
| void ThreadState::schedulePreciseGC()
|
|
|