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

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.h

Issue 2384273007: reflow comments in core/html/*.{cpp,h},core/html/imports (Closed)
Patch Set: comments 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/HTMLElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.h b/third_party/WebKit/Source/core/html/HTMLElement.h
index b7c4dcee999f7ad7cfacd8526be576d81e1dda22..43db3f8592eaf952a2403938118be4cb6c654e7b 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLElement.h
@@ -192,7 +192,8 @@ inline bool Node::hasTagName(const HTMLQualifiedName& name) const {
return isHTMLElement() && toHTMLElement(*this).hasTagName(name);
}
-// Functor used to match HTMLElements with a specific HTML tag when using the ElementTraversal API.
+// Functor used to match HTMLElements with a specific HTML tag when using the
+// ElementTraversal API.
class HasHTMLTagName {
STACK_ALLOCATED();
@@ -207,8 +208,9 @@ class HasHTMLTagName {
const HTMLQualifiedName& m_tagName;
};
-// This requires isHTML*Element(const Element&) and isHTML*Element(const HTMLElement&).
-// When the input element is an HTMLElement, we don't need to check the namespace URI, just the local name.
+// This requires isHTML*Element(const Element&) and isHTML*Element(const
+// HTMLElement&). When the input element is an HTMLElement, we don't need to
+// check the namespace URI, just the local name.
#define DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) \
inline bool is##thisType(const thisType* element); \
inline bool is##thisType(const thisType& element); \
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLDocument.cpp ('k') | third_party/WebKit/Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698