| Index: Source/core/html/HTMLScriptElement.cpp
|
| diff --git a/Source/core/html/HTMLScriptElement.cpp b/Source/core/html/HTMLScriptElement.cpp
|
| index 5ad6b6751e3b30528421e02c00e7c7fda6766a2e..c30f1804a2c35877052e1070aeb8779e7a497a41 100644
|
| --- a/Source/core/html/HTMLScriptElement.cpp
|
| +++ b/Source/core/html/HTMLScriptElement.cpp
|
| @@ -90,6 +90,12 @@ void HTMLScriptElement::didNotifySubtreeInsertionsToDocument()
|
| m_loader->didNotifySubtreeInsertionsToDocument();
|
| }
|
|
|
| +void HTMLScriptElement::didMoveToNewDocument(Document& oldDocument)
|
| +{
|
| + HTMLElement::didMoveToNewDocument(oldDocument);
|
| + m_loader->cancel(&oldDocument);
|
| +}
|
| +
|
| void HTMLScriptElement::setText(const String &value)
|
| {
|
| RefPtr<Node> protectFromMutationEvents(this);
|
|
|