Index: third_party/WebKit/Source/core/dom/ScriptLoader.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp |
index 8f8b6174bfca9c544374003f42e4646086a72d63..e63ea29dcc23656e3a09858b8302f45a2f43b89d 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp |
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp |
@@ -50,7 +50,6 @@ |
#include "core/svg/SVGScriptElement.h" |
#include "platform/MIMETypeRegistry.h" |
#include "platform/weborigin/SecurityOrigin.h" |
-#include "public/platform/WebFrameScheduler.h" |
#include "wtf/StdLibExtras.h" |
#include "wtf/text/StringBuilder.h" |
#include "wtf/text/StringHash.h" |
@@ -260,7 +259,7 @@ |
if (frame) { |
ScriptState* scriptState = ScriptState::forMainWorld(frame); |
if (scriptState->contextIsValid()) |
- ScriptStreamer::startStreaming(m_pendingScript, PendingScript::Async, frame->settings(), scriptState, frame->frameScheduler()->loadingTaskRunner()); |
+ ScriptStreamer::startStreaming(m_pendingScript, PendingScript::Async, frame->settings(), scriptState); |
} |
contextDocument->scriptRunner()->queueScriptForExecution(this, ScriptRunner::ASYNC_EXECUTION); |
// Note that watchForLoad can immediately call notifyFinished. |