Index: third_party/WebKit/Source/core/dom/Node.h |
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h |
index 7d05ca569af0bea69523d76b7d321a056da70f21..d25e75c69ddd48b2c181257cf46d158ce3efd136 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.h |
+++ b/third_party/WebKit/Source/core/dom/Node.h |
@@ -490,6 +490,7 @@ public: |
bool isInV0ShadowTree() const; |
bool isChildOfV1ShadowHost() const; |
bool isChildOfV0ShadowHost() const; |
+ bool isSlotAssignable() const { return isTextNode() || isElementNode(); } |
bool isDocumentTypeNode() const { return nodeType() == DOCUMENT_TYPE_NODE; } |
virtual bool childTypeAllowed(NodeType) const { return false; } |