| Index: third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| index c04f3d4e5ba3d0689f589178e10982617abca9b9..16c8637077713fe2f4a674360a8d1a67d800f209 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp
|
| @@ -37,15 +37,15 @@ namespace blink {
|
|
|
| using namespace HTMLNames;
|
|
|
| -inline HTMLScriptElement::HTMLScriptElement(Document& document, bool wasInsertedByParser, bool alreadyStarted)
|
| +inline HTMLScriptElement::HTMLScriptElement(Document& document, bool wasInsertedByParser, bool alreadyStarted, bool createdDuringDocumentWrite)
|
| : HTMLElement(scriptTag, document)
|
| - , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted))
|
| + , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted, createdDuringDocumentWrite))
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<HTMLScriptElement> HTMLScriptElement::create(Document& document, bool wasInsertedByParser, bool alreadyStarted)
|
| +PassRefPtrWillBeRawPtr<HTMLScriptElement> HTMLScriptElement::create(Document& document, bool wasInsertedByParser, bool alreadyStarted, bool createdDuringDocumentWrite)
|
| {
|
| - return adoptRefWillBeNoop(new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted));
|
| + return adoptRefWillBeNoop(new HTMLScriptElement(document, wasInsertedByParser, alreadyStarted, createdDuringDocumentWrite));
|
| }
|
|
|
| bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const
|
| @@ -176,7 +176,7 @@ void HTMLScriptElement::dispatchLoadEvent()
|
|
|
| PassRefPtrWillBeRawPtr<Element> HTMLScriptElement::cloneElementWithoutAttributesAndChildren()
|
| {
|
| - return adoptRefWillBeNoop(new HTMLScriptElement(document(), false, m_loader->alreadyStarted()));
|
| + return adoptRefWillBeNoop(new HTMLScriptElement(document(), false, m_loader->alreadyStarted(), false));
|
| }
|
|
|
| DEFINE_TRACE(HTMLScriptElement)
|
|
|