Modified: trunk/Source/WebCore/ChangeLog (237076 => 237077)
--- trunk/Source/WebCore/ChangeLog 2018-10-12 21:04:45 UTC (rev 237076)
+++ trunk/Source/WebCore/ChangeLog 2018-10-12 21:29:53 UTC (rev 237077)
@@ -1,3 +1,10 @@
+2018-10-12 Ryosuke Niwa <[email protected]>
+
+ Address the review comment which was meant to be addressed in r237025.
+
+ * editing/MarkupAccumulator.cpp:
+ (WebCore::elementCannotHaveEndTag):
+
2018-10-12 Youenn Fablet <[email protected]> and Alejandro G. Castro <[email protected]>
Refresh libwebrtc up to 343f4144be
Modified: trunk/Source/WebCore/editing/MarkupAccumulator.cpp (237076 => 237077)
--- trunk/Source/WebCore/editing/MarkupAccumulator.cpp 2018-10-12 21:04:45 UTC (rev 237076)
+++ trunk/Source/WebCore/editing/MarkupAccumulator.cpp 2018-10-12 21:29:53 UTC (rev 237077)
@@ -94,7 +94,7 @@
// If current node is an area, base, basefont, bgsound, br, col, embed, frame, hr, img,
// input, keygen, link, meta, param, source, track or wbr element, then continue on to
// the next child node at this point.
- static const AtomicStringImpl* localNames[] = {
+ static const AtomicStringImpl* const localNames[] = {
areaTag->localName().impl(),
baseTag->localName().impl(),
basefontTag->localName().impl(),
@@ -115,7 +115,7 @@
wbrTag->localName().impl()
};
- auto* elementName = downcast<HTMLElement>(node).localName().impl();
+ auto* const elementName = downcast<HTMLElement>(node).localName().impl();
for (auto* name : localNames) {
if (name == elementName)
return true;