| 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 a1b4db229982bafd0d9c0a4917fa2cd05fc70146..fa913b355e0b6a734d61aa8b23ba618d11345793 100644
|
| --- a/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ScriptLoader.cpp
|
| @@ -26,6 +26,7 @@
|
|
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/ScriptSourceCode.h"
|
| +#include "bindings/core/v8/V8Binding.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/SVGNames.h"
|
| #include "core/dom/Document.h"
|
| @@ -459,7 +460,7 @@ bool ScriptLoader::prepareScript(const TextPosition& scriptStartPosition,
|
| m_asyncExecType = ScriptRunner::Async;
|
| LocalFrame* frame = m_element->document().frame();
|
| if (frame) {
|
| - ScriptState* scriptState = ScriptState::forMainWorld(frame);
|
| + ScriptState* scriptState = toScriptStateForMainWorld(frame);
|
| if (scriptState)
|
| ScriptStreamer::startStreaming(
|
| m_pendingScript.get(), ScriptStreamer::Async, frame->settings(),
|
|
|