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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h

Issue 2386893002: Reformat comments in core/html/parser (Closed)
Patch Set: self review Created 4 years, 2 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
Index: third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h b/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
index 559bf9f725b5d1c09851783a86d1cd779a14e0d9..010b8808d6fabce8deaa529b9bde24599be1d217 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLFormattingElementList.h
@@ -45,8 +45,8 @@ class HTMLFormattingElementList {
~HTMLFormattingElementList();
// Ideally Entry would be private, but HTMLTreeBuilder has to coordinate
- // between the HTMLFormattingElementList and HTMLElementStack and needs
- // access to Entry::isMarker() and Entry::replaceElement() to do so.
+ // between the HTMLFormattingElementList and HTMLElementStack and needs access
+ // to Entry::isMarker() and Entry::replaceElement() to do so.
class Entry {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -61,8 +61,8 @@ class HTMLFormattingElementList {
HTMLStackItem* stackItem() const { return m_item; }
Element* element() const {
- // The fact that !m_item == isMarker() is an implementation detail
- // callers should check isMarker() before calling element().
+ // The fact that !m_item == isMarker() is an implementation detail callers
+ // should check isMarker() before calling element().
ASSERT(m_item);
return m_item->element();
}
@@ -131,7 +131,8 @@ class HTMLFormattingElementList {
Entry* first() { return &at(0); }
// http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#list-of-active-formatting-elements
- // These functions enforce the "Noah's Ark" condition, which removes redundant mis-nested elements.
+ // These functions enforce the "Noah's Ark" condition, which removes redundant
+ // mis-nested elements.
void tryToEnsureNoahsArkConditionQuickly(
HTMLStackItem*,
HeapVector<Member<HTMLStackItem>>& remainingCandiates);

Powered by Google App Engine
This is Rietveld 408576698