Index: Source/core/dom/shadow/ContentDistributor.h |
diff --git a/Source/core/dom/shadow/ContentDistributor.h b/Source/core/dom/shadow/ContentDistributor.h |
index 91a480c3cdf1f34b730238fe813a5d5d3b6ca153..107fab1330030f8fb10c4a6521d4773239e87673 100644 |
--- a/Source/core/dom/shadow/ContentDistributor.h |
+++ b/Source/core/dom/shadow/ContentDistributor.h |
@@ -134,10 +134,10 @@ public: |
void willAffectSelector(Element* host); |
static void ensureDistribution(ShadowRoot*); |
- |
+ static void ensureDistribution(ElementShadow*); |
private: |
void distribute(Element* host); |
- bool invalidate(Element* host); |
+ bool invalidate(Element* host, Vector<RefPtr<Node> >& nodesNeedingReattach); |
void populate(Node*, ContentDistribution&); |
void collectSelectFeatureSetFrom(ShadowRoot*); |
@@ -149,6 +149,8 @@ private: |
bool needsDistribution() const; |
bool needsInvalidation() const { return m_validity != Invalidated; } |
+ static void ensureDistribution(Element* host); |
+ |
HashMap<const Node*, RefPtr<InsertionPoint> > m_nodeToInsertionPoint; |
SelectRuleFeatureSet m_selectFeatures; |
unsigned m_needsSelectFeatureSet : 1; |