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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp

Issue 2390543002: Reflow comments in core/dom/. (Closed)
Patch Set: Reformat comments in core/dom/. 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/dom/shadow/FlatTreeTraversal.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp
index b02b960c45f47d9d8f18bf57c5b234c60b88e88b..de750fbb3a57b4ec1a9ca5ee39176e8f98de7165 100644
--- a/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/FlatTreeTraversal.cpp
@@ -115,7 +115,8 @@ static HTMLSlotElement* finalDestinationSlotFor(const Node& node) {
}
// TODO(hayato): This may return a wrong result for a node which is not in a
-// document flat tree. See FlatTreeTraversalTest's redistribution test for details.
+// document flat tree. See FlatTreeTraversalTest's redistribution test for
+// details.
Node* FlatTreeTraversal::traverseSiblings(const Node& node,
TraversalDirection direction) {
if (node.isChildOfV1ShadowHost())
@@ -176,7 +177,8 @@ Node* FlatTreeTraversal::traverseSiblingsForV0Distribution(
ContainerNode* FlatTreeTraversal::traverseParent(
const Node& node,
ParentTraversalDetails* details) {
- // TODO(hayato): Stop this hack for a pseudo element because a pseudo element is not a child of its parentOrShadowHostNode() in a flat tree.
+ // TODO(hayato): Stop this hack for a pseudo element because a pseudo element
+ // is not a child of its parentOrShadowHostNode() in a flat tree.
if (node.isPseudoElement())
return node.parentOrShadowHostNode();
@@ -209,7 +211,8 @@ ContainerNode* FlatTreeTraversal::traverseParentForV0(
if (const InsertionPoint* insertionPoint = resolveReprojection(&node)) {
if (details)
details->didTraverseInsertionPoint(insertionPoint);
- // The node is distributed. But the distribution was stopped at this insertion point.
+ // The node is distributed. But the distribution was stopped at this
+ // insertion point.
if (shadowWhereNodeCanBeDistributedForV0(*insertionPoint))
return nullptr;
return traverseParent(*insertionPoint);

Powered by Google App Engine
This is Rietveld 408576698