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 d5b87bce6a6906ef75484818bb1e69df3972f076..c4d75f78a10f694643bfa483e695284d82432503 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.h |
+++ b/third_party/WebKit/Source/core/dom/Node.h |
@@ -483,6 +483,11 @@ public: |
bool isInShadowTree() const { return getFlag(IsInShadowTreeFlag); } |
bool isInTreeScope() const { return getFlag(static_cast<NodeFlags>(InDocumentFlag | IsInShadowTreeFlag)); } |
+ bool isInV1ShadowTree() const; |
+ bool isInV0ShadowTree() const; |
+ bool isChildOfV1ShadowHost() const; |
+ bool isChildOfV0ShadowHost() const; |
+ |
bool isDocumentTypeNode() const { return nodeType() == DOCUMENT_TYPE_NODE; } |
virtual bool childTypeAllowed(NodeType) const { return false; } |
unsigned countChildren() const; |
@@ -660,7 +665,7 @@ public: |
PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints(); |
HTMLSlotElement* assignedSlot() const; |
- HTMLSlotElement* assignedSlotForBinding() { updateDistribution(); return assignedSlot(); } |
+ HTMLSlotElement* assignedSlotForBinding(); |
void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFlag); } |
bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); } |