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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h

Issue 2323953003: Clarify a role of Shadow DOM related functions (Closed)
Patch Set: rebased Created 4 years, 3 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/InsertionPoint.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
index ca396d07ae506433fb0db5bf839291f7b01ebaf2..63437c5164702a7e273f917b190d34c7763057a8 100644
--- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
+++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h
@@ -97,8 +97,7 @@ inline bool isActiveShadowInsertionPoint(const Node& node)
return node.isInsertionPoint() && toInsertionPoint(node).isShadowInsertionPoint();
}
-// TODO(hayato): The function name is confusing. This neither resolve a reprojection nor support v1 shadow trees.
-inline ElementShadow* shadowWhereNodeCanBeDistributed(const Node& node)
+inline ElementShadow* shadowWhereNodeCanBeDistributedForV0(const Node& node)
{
Node* parent = node.parentNode();
if (!parent)

Powered by Google App Engine
This is Rietveld 408576698