| Index: Source/platform/heap/ThreadState.cpp
|
| diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
|
| index a5486f9c6995e9a36d85daa1995c364ea1dc5755..4d92a400e2c5e07420ea59ec7d423228b3472836 100644
|
| --- a/Source/platform/heap/ThreadState.cpp
|
| +++ b/Source/platform/heap/ThreadState.cpp
|
| @@ -676,7 +676,7 @@ void ThreadState::scheduleIdleLazySweep()
|
|
|
| // TODO(haraken): Remove this. Lazy sweeping is not yet enabled in non-oilpan builds.
|
| #if ENABLE(OILPAN)
|
| - Scheduler::shared()->postIdleTask(FROM_HERE, WTF::bind<double>(&ThreadState::performIdleLazySweep, this));
|
| + Platform::current()->currentThread()->scheduler()->postIdleTask(FROM_HERE, WTF::bind<double>(&ThreadState::performIdleLazySweep, this));
|
| #endif
|
| }
|
|
|
|
|