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

Unified Diff: third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp

Issue 2394653003: reflow comments in core/events,core/fileapi (Closed)
Patch Set: 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/events/TreeScopeEventContext.cpp
diff --git a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
index 0dec174a27c2605866f789fe692dee8c69c4a8cf..5609b0ffaa8e41720de66cb3c946454fcbdada09 100644
--- a/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
+++ b/third_party/WebKit/Source/core/events/TreeScopeEventContext.cpp
@@ -36,8 +36,9 @@ namespace blink {
bool TreeScopeEventContext::isUnclosedTreeOf(
const TreeScopeEventContext& other) {
// Exclude closed nodes if necessary.
- // If a node is in a closed shadow root, or in a tree whose ancestor has a closed shadow root,
- // it should not be visible to nodes above the closed shadow root.
+ // If a node is in a closed shadow root, or in a tree whose ancestor has a
+ // closed shadow root, it should not be visible to nodes above the closed
+ // shadow root.
// (1) If |this| is an ancestor of |other| in tree-of-trees, include it.
if (isInclusiveAncestorOf(other))
@@ -47,7 +48,8 @@ bool TreeScopeEventContext::isUnclosedTreeOf(
if (!containingClosedShadowTree())
return true;
- // (3) If |this| is descendent of |other|, exclude if any closed shadow root in between.
+ // (3) If |this| is descendent of |other|, exclude if any closed shadow root
+ // in between.
if (isDescendantOf(other))
return !containingClosedShadowTree()->isDescendantOf(other);
« no previous file with comments | « third_party/WebKit/Source/core/events/TreeScopeEventContext.h ('k') | third_party/WebKit/Source/core/events/UIEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698