| Index: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
|
| index 01c77ad4bbbe5bf74158293ecc708d7e44f4b503..b58829e5008996f897f9ae9aebba9a7fd4abb1c3 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp
|
| @@ -359,7 +359,7 @@ void HTMLScriptRunner::requestParsingBlockingScript(Element* element)
|
| if (m_document->frame()) {
|
| ScriptState* scriptState = ScriptState::forMainWorld(m_document->frame());
|
| if (scriptState)
|
| - ScriptStreamer::startStreaming(m_parserBlockingScript.get(), ScriptStreamer::ParsingBlocking, m_document->frame()->settings(), scriptState, TaskRunnerHelper::getLoadingTaskRunner(m_document));
|
| + ScriptStreamer::startStreaming(m_parserBlockingScript.get(), ScriptStreamer::ParsingBlocking, m_document->frame()->settings(), scriptState, TaskRunnerHelper::get(TaskType::Networking, m_document));
|
| }
|
|
|
| m_parserBlockingScript->watchForLoad(this);
|
| @@ -375,7 +375,7 @@ void HTMLScriptRunner::requestDeferredScript(Element* element)
|
| if (m_document->frame() && !pendingScript->isReady()) {
|
| ScriptState* scriptState = ScriptState::forMainWorld(m_document->frame());
|
| if (scriptState)
|
| - ScriptStreamer::startStreaming(pendingScript, ScriptStreamer::Deferred, m_document->frame()->settings(), scriptState, TaskRunnerHelper::getLoadingTaskRunner(m_document));
|
| + ScriptStreamer::startStreaming(pendingScript, ScriptStreamer::Deferred, m_document->frame()->settings(), scriptState, TaskRunnerHelper::get(TaskType::Networking, m_document));
|
| }
|
|
|
| ASSERT(pendingScript->resource());
|
|
|