| Index: Source/core/svg/SVGScriptElement.cpp
|
| diff --git a/Source/core/svg/SVGScriptElement.cpp b/Source/core/svg/SVGScriptElement.cpp
|
| index 60e90347c028a7b45aeed87a8539cba6b01fd2e5..83782dbb505dcf74b6cd79b9fa415f9645f1b1cf 100644
|
| --- a/Source/core/svg/SVGScriptElement.cpp
|
| +++ b/Source/core/svg/SVGScriptElement.cpp
|
| @@ -114,6 +114,12 @@ void SVGScriptElement::didNotifySubtreeInsertionsToDocument()
|
| }
|
| }
|
|
|
| +void SVGScriptElement::didMoveToNewDocument(Document& oldDocument)
|
| +{
|
| + SVGElement::didMoveToNewDocument(oldDocument);
|
| + m_loader->cancel(&oldDocument);
|
| +}
|
| +
|
| void SVGScriptElement::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
|
| {
|
| SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
|
|
|