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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.h

Issue 2842263004: Fix assignedNodes({flatten:true}) to return fallback content in document tree (Closed)
Patch Set: Rename GetDistributedNodes to GetDistributedNodesExcludingFallback Created 3 years, 7 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/html/HTMLSlotElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.h b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
index dffa5dfc71129c790275aeb7a5c064f444ed8ad9..15034fe29ef4c9bdbd1eed41a500bb0e80ea241a 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
@@ -45,8 +45,7 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
DECLARE_NODE_FACTORY(HTMLSlotElement);
const HeapVector<Member<Node>>& AssignedNodes();
- const HeapVector<Member<Node>>& GetDistributedNodes();
- const HeapVector<Member<Node>> GetDistributedNodesForBinding();
+ const HeapVector<Member<Node>>& GetDistributedNodesExcludingFallback();
const HeapVector<Member<Node>> assignedNodesForBinding(
const AssignedNodesOptions&);
@@ -108,6 +107,8 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
void RemovedFrom(ContainerNode*) final;
void WillRecalcStyle(StyleRecalcChange) final;
+ const HeapVector<Member<Node>> GetDistributedNodes() const;
+
void EnqueueSlotChangeEvent();
HeapVector<Member<Node>> assigned_nodes_;

Powered by Google App Engine
This is Rietveld 408576698