| Index: Source/core/dom/ScriptRunner.cpp
|
| diff --git a/Source/core/dom/ScriptRunner.cpp b/Source/core/dom/ScriptRunner.cpp
|
| index bf1d254109b5e31a144b5a34c76757f11e28ef42..cee49dc191fb038843c907cd78a097bb0bc84dc2 100644
|
| --- a/Source/core/dom/ScriptRunner.cpp
|
| +++ b/Source/core/dom/ScriptRunner.cpp
|
| @@ -228,7 +228,7 @@ void ScriptRunner::postTaskIfOneIsNotAlreadyInFlight()
|
| 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)
|
|
|