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 69a5de47249090722154efb8c7ffc114b24e4f27..738c277c87bed2492b8a1aa8836eafc865ea69c6 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h |
@@ -34,8 +34,12 @@ |
#include "core/CoreExport.h" |
#include "core/html/HTMLElement.h" |
+ |
+ |
kochi
2016/01/20 08:03:16
nit: unnecessary newline.
hayato
2016/01/20 08:29:07
Done.
|
namespace blink { |
+class AssignedNodesOptions; |
+ |
class CORE_EXPORT HTMLSlotElement final : public HTMLElement { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
@@ -44,8 +48,7 @@ public: |
const WillBeHeapVector<RefPtrWillBeMember<Node>>& getAssignedNodes() const { ASSERT(!needsDistributionRecalc()); return m_assignedNodes; } |
const WillBeHeapVector<RefPtrWillBeMember<Node>>& getDistributedNodes() const { ASSERT(!needsDistributionRecalc()); return m_distributedNodes; } |
- const WillBeHeapVector<RefPtrWillBeMember<Node>> getAssignedNodesForBinding() { updateDistribution(); return m_assignedNodes; } |
- const WillBeHeapVector<RefPtrWillBeMember<Node>> getDistributedNodesForBinding() { updateDistribution(); return m_distributedNodes; } |
+ const WillBeHeapVector<RefPtrWillBeMember<Node>> getAssignedNodesForBinding(const AssignedNodesOptions&); |
Node* firstDistributedNode() const { return m_distributedNodes.isEmpty() ? nullptr : m_distributedNodes.first().get(); } |
Node* lastDistributedNode() const { return m_distributedNodes.isEmpty() ? nullptr : m_distributedNodes.last().get(); } |