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

Unified Diff: sky/engine/core/dom/shadow/InsertionPoint.h

Issue 704413007: Remove HTMLShadowElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/dom/shadow/ElementShadow.cpp ('k') | sky/engine/core/dom/shadow/InsertionPoint.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/shadow/InsertionPoint.h
diff --git a/sky/engine/core/dom/shadow/InsertionPoint.h b/sky/engine/core/dom/shadow/InsertionPoint.h
index 13c4878be432f87c020cf0721867bdda8f8df084..10677f309f71b8fe665ca619dc6850d4fdc7630a 100644
--- a/sky/engine/core/dom/shadow/InsertionPoint.h
+++ b/sky/engine/core/dom/shadow/InsertionPoint.h
@@ -48,7 +48,6 @@ public:
bool isActive() const;
bool canBeActive() const;
- bool isShadowInsertionPoint() const;
bool isContentInsertionPoint() const;
PassRefPtr<StaticNodeList> getDistributedNodes();
@@ -91,11 +90,6 @@ inline bool isActiveInsertionPoint(const Node& node)
return node.isInsertionPoint() && toInsertionPoint(node).isActive();
}
-inline bool isActiveShadowInsertionPoint(const Node& node)
-{
- return node.isInsertionPoint() && toInsertionPoint(node).isShadowInsertionPoint();
-}
-
inline ElementShadow* shadowWhereNodeCanBeDistributed(const Node& node)
{
Node* parent = node.parentNode();
« no previous file with comments | « sky/engine/core/dom/shadow/ElementShadow.cpp ('k') | sky/engine/core/dom/shadow/InsertionPoint.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698