Clean up ContainerNode::childrenChanged
[WebKit-https.git] / Source / WebCore / html / shadow / InsertionPoint.cpp
index 5737f13..bb63c62 100644 (file)
@@ -107,9 +107,9 @@ bool InsertionPoint::rendererIsNeeded(const RenderStyle& style)
     return !isActive() && HTMLElement::rendererIsNeeded(style);
 }
 
-void InsertionPoint::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
+void InsertionPoint::childrenChanged(const ChildChange& change)
 {
-    HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
+    HTMLElement::childrenChanged(change);
     if (ShadowRoot* root = containingShadowRoot())
         root->invalidateDistribution();
 }