| Index: third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp b/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
|
| index 28d5fdab329e5bc0cb7aeca110d0588ad0a28996..e9209399cdf0c9a3ff77d2c49280d28f445d6b1b 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ElementShadowV0.cpp
|
| @@ -71,9 +71,9 @@ inline void DistributionPool::populateChildren(const ContainerNode& parent) {
|
| if (isActiveInsertionPoint(*child)) {
|
| InsertionPoint* insertionPoint = toInsertionPoint(child);
|
| for (size_t i = 0; i < insertionPoint->distributedNodesSize(); ++i)
|
| - m_nodes.append(insertionPoint->distributedNodeAt(i));
|
| + m_nodes.push_back(insertionPoint->distributedNodeAt(i));
|
| } else {
|
| - m_nodes.append(child);
|
| + m_nodes.push_back(child);
|
| }
|
| }
|
| m_distributed.resize(m_nodes.size());
|
| @@ -170,7 +170,7 @@ void ElementShadowV0::distribute() {
|
| if (isHTMLShadowElement(*point)) {
|
| DCHECK(!shadowInsertionPoint);
|
| shadowInsertionPoint = toHTMLShadowElement(point);
|
| - shadowInsertionPoints.append(shadowInsertionPoint);
|
| + shadowInsertionPoints.push_back(shadowInsertionPoint);
|
| } else {
|
| pool.distributeTo(point, this);
|
| if (ElementShadow* shadow =
|
| @@ -208,7 +208,7 @@ void ElementShadowV0::didDistributeNode(const Node* node,
|
| m_nodeToInsertionPoints.add(node, nullptr);
|
| if (result.isNewEntry)
|
| result.storedValue->value = new DestinationInsertionPoints;
|
| - result.storedValue->value->append(insertionPoint);
|
| + result.storedValue->value->push_back(insertionPoint);
|
| }
|
|
|
| const SelectRuleFeatureSet& ElementShadowV0::ensureSelectFeatureSet() {
|
|
|