| Index: Source/core/dom/ScriptRunner.cpp
|
| diff --git a/Source/core/dom/ScriptRunner.cpp b/Source/core/dom/ScriptRunner.cpp
|
| index bf1d254109b5e31a144b5a34c76757f11e28ef42..41a2b4b0e9a2480f77fe1b0a6d44dac9271a3a0a 100644
|
| --- a/Source/core/dom/ScriptRunner.cpp
|
| +++ b/Source/core/dom/ScriptRunner.cpp
|
| @@ -227,8 +227,7 @@ void ScriptRunner::postTaskIfOneIsNotAlreadyInFlight()
|
| if (m_executeScriptsTaskFactory.isPending())
|
| return;
|
|
|
| - // FIXME: Rename task() so that it's obvious it cancels any pending task.
|
| - Platform::current()->currentThread()->scheduler()->postLoadingTask(FROM_HERE, m_executeScriptsTaskFactory.cancelAndCreate());
|
| + Platform::current()->currentThread()->scheduler()->loadingTaskRunner()->postTask(FROM_HERE, m_executeScriptsTaskFactory.cancelAndCreate());
|
| }
|
|
|
| DEFINE_TRACE(ScriptRunner)
|
|
|