Index: Source/core/html/parser/HTMLConstructionSite.cpp |
diff --git a/Source/core/html/parser/HTMLConstructionSite.cpp b/Source/core/html/parser/HTMLConstructionSite.cpp |
index c024ebb56baf300e34f3d214d063c689908d2eaf..e11ef9d4b34c6cb3b093fa64dda9643be83d8cdf 100644 |
--- a/Source/core/html/parser/HTMLConstructionSite.cpp |
+++ b/Source/core/html/parser/HTMLConstructionSite.cpp |
@@ -88,7 +88,7 @@ static inline bool isAllWhitespace(const String& string) |
return string.isAllSpecialCharacters<isHTMLSpace>(); |
} |
-static inline void insert(HTMLConstructionSiteTask& task, AttachBehavior attachBehavior = AttachLazily) |
+static inline void insert(HTMLConstructionSiteTask& task) |
{ |
if (task.parent->hasTagName(templateTag)) |
task.parent = toHTMLTemplateElement(task.parent.get())->content(); |
@@ -97,9 +97,9 @@ static inline void insert(HTMLConstructionSiteTask& task, AttachBehavior attachB |
parent->parserRemoveChild(task.child.get()); |
if (task.nextChild) |
- task.parent->parserInsertBefore(task.child.get(), task.nextChild.get(), attachBehavior); |
+ task.parent->parserInsertBefore(task.child.get(), task.nextChild.get()); |
else |
- task.parent->parserAppendChild(task.child.get(), attachBehavior); |
+ task.parent->parserAppendChild(task.child.get()); |
} |
static inline void executeInsertTask(HTMLConstructionSiteTask& task) |