Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1135)

Unified Diff: Source/core/html/parser/HTMLConstructionSite.cpp

Issue 23874007: Rename AttachBehavior to RecalcStyleBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix enum usage Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/SplitTextNodeCommand.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/editing/SplitTextNodeCommand.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698