| Index: Source/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/Source/core/dom/shadow/ShadowRoot.cpp b/Source/core/dom/shadow/ShadowRoot.cpp
|
| index 4217138c3653a1863e03b16a628054450e5293d2..8f5fd802202aabc05598e8f1df17fc51bc57d399 100644
|
| --- a/Source/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/Source/core/dom/shadow/ShadowRoot.cpp
|
| @@ -204,11 +204,11 @@ void ShadowRoot::removedFrom(ContainerNode* insertionPoint)
|
| DocumentFragment::removedFrom(insertionPoint);
|
| }
|
|
|
| -void ShadowRoot::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
|
| +void ShadowRoot::childrenChanged(const ChildrenChange& change)
|
| {
|
| - ContainerNode::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
|
| + ContainerNode::childrenChanged(change);
|
|
|
| - checkForSiblingStyleChanges(false, beforeChange, afterChange, childCountDelta);
|
| + checkForSiblingStyleChanges(change.type == ChildRemoved ? SiblingRemoved : Other, change.siblingBeforeChange, change.siblingAfterChange);
|
|
|
| if (InsertionPoint* point = shadowInsertionPointOfYoungerShadowRoot()) {
|
| if (ShadowRoot* root = point->containingShadowRoot())
|
|
|