Add an argument indicating the type of insertion to Node::insertedInto
[WebKit-https.git] / Source / WebCore / svg / SVGFontFaceUriElement.cpp
index b419576..bfd891e 100644 (file)
@@ -81,10 +81,10 @@ void SVGFontFaceUriElement::childrenChanged(const ChildChange& change)
         downcast<SVGFontFaceElement>(*grandparent).rebuildFontFace();
 }
 
-Node::InsertionNotificationRequest SVGFontFaceUriElement::insertedInto(ContainerNode& rootParent)
+Node::InsertedIntoResult SVGFontFaceUriElement::insertedInto(InsertionType insertionType, ContainerNode& parentOfInsertedTree)
 {
     loadFont();
-    return SVGElement::insertedInto(rootParent);
+    return SVGElement::insertedInto(insertionType, parentOfInsertedTree);
 }
 
 static bool isSVGFontTarget(const SVGFontFaceUriElement& element)