| Index: third_party/WebKit/Source/core/html/HTMLSlotElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.h b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
|
| index 7b6e44a21bd7e6845d14ddc00d44a68e31c36efa..a17073ef1d8aa278afeeaa2c9b7eceb72dbdf129 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
|
| @@ -46,14 +46,17 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
|
|
|
| const HeapVector<Member<Node>>& assignedNodes();
|
| const HeapVector<Member<Node>>& getDistributedNodes();
|
| + const HeapVector<Member<Node>> getDistributedNodesForBinding();
|
| const HeapVector<Member<Node>> assignedNodesForBinding(
|
| const AssignedNodesOptions&);
|
|
|
| Node* firstDistributedNode() const {
|
| + DCHECK(supportsDistribution());
|
| return m_distributedNodes.isEmpty() ? nullptr
|
| : m_distributedNodes.first().get();
|
| }
|
| Node* lastDistributedNode() const {
|
| + DCHECK(supportsDistribution());
|
| return m_distributedNodes.isEmpty() ? nullptr
|
| : m_distributedNodes.last().get();
|
| }
|
| @@ -93,8 +96,7 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
|
| void clearDistribution();
|
| void saveAndClearDistribution();
|
|
|
| - bool supportsDistribution() const { return isInShadowTree(); }
|
| - void updateDistributedNodesManually();
|
| + bool supportsDistribution() const { return isInV1ShadowTree(); }
|
|
|
| static AtomicString normalizeSlotName(const AtomicString&);
|
|
|
|
|