| Index: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| index 19323fd4098cdfe0315745b4d62344ab2f7a9ac6..86692384b572bde5e09671a45ace9f3e311e3b78 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/InsertionPoint.cpp
|
| @@ -149,7 +149,7 @@ bool InsertionPoint::isActive() const
|
| return true;
|
|
|
| // Slow path only when there are more than one shadow elements in a shadow tree. That should be a rare case.
|
| - const WillBeHeapVector<RefPtrWillBeMember<InsertionPoint>>& insertionPoints = shadowRoot->descendantInsertionPoints();
|
| + const HeapVector<Member<InsertionPoint>>& insertionPoints = shadowRoot->descendantInsertionPoints();
|
| for (size_t i = 0; i < insertionPoints.size(); ++i) {
|
| InsertionPoint* point = insertionPoints[i].get();
|
| if (isHTMLShadowElement(*point))
|
| @@ -168,11 +168,11 @@ bool InsertionPoint::isContentInsertionPoint() const
|
| return isHTMLContentElement(*this) && isActive();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<StaticNodeList> InsertionPoint::getDistributedNodes()
|
| +RawPtr<StaticNodeList> InsertionPoint::getDistributedNodes()
|
| {
|
| updateDistribution();
|
|
|
| - WillBeHeapVector<RefPtrWillBeMember<Node>> nodes;
|
| + HeapVector<Member<Node>> nodes;
|
| nodes.reserveInitialCapacity(m_distributedNodes.size());
|
| for (size_t i = 0; i < m_distributedNodes.size(); ++i)
|
| nodes.uncheckedAppend(m_distributedNodes.at(i));
|
| @@ -273,7 +273,7 @@ const InsertionPoint* resolveReprojection(const Node* projectedNode)
|
| return insertionPoint;
|
| }
|
|
|
| -void collectDestinationInsertionPoints(const Node& node, WillBeHeapVector<RawPtrWillBeMember<InsertionPoint>, 8>& results)
|
| +void collectDestinationInsertionPoints(const Node& node, HeapVector<Member<InsertionPoint>, 8>& results)
|
| {
|
| const Node* current = &node;
|
| ElementShadow* lastElementShadow = 0;
|
|
|