| Index: Source/core/svg/SVGStyleElement.cpp
|
| diff --git a/Source/core/svg/SVGStyleElement.cpp b/Source/core/svg/SVGStyleElement.cpp
|
| index 5e5372ce35f13688daba44745246eb1e5ed31b2e..ce9cdd46712913f5c3142d2f58af4b9a0ec2999b 100644
|
| --- a/Source/core/svg/SVGStyleElement.cpp
|
| +++ b/Source/core/svg/SVGStyleElement.cpp
|
| @@ -136,10 +136,15 @@ Node::InsertionNotificationRequest SVGStyleElement::insertedInto(ContainerNode*
|
| {
|
| SVGElement::insertedInto(rootParent);
|
| if (rootParent->inDocument())
|
| - StyleElement::insertedIntoDocument(document(), this);
|
| + return InsertionShouldCallDidNotifySubtreeInsertions;
|
| return InsertionDone;
|
| }
|
|
|
| +void SVGStyleElement::didNotifySubtreeInsertions(ContainerNode* insertionPoint)
|
| +{
|
| + StyleElement::processStyleSheet(document(), this);
|
| +}
|
| +
|
| void SVGStyleElement::removedFrom(ContainerNode* rootParent)
|
| {
|
| SVGElement::removedFrom(rootParent);
|
|
|