| Index: third_party/WebKit/Source/core/dom/StaticNodeList.h
|
| diff --git a/third_party/WebKit/Source/core/dom/StaticNodeList.h b/third_party/WebKit/Source/core/dom/StaticNodeList.h
|
| index 83d8ba439032cd60ddc726cc90de570cb0bba397..98a26fa7ef3a1428a990601a9310337dcfd625b9 100644
|
| --- a/third_party/WebKit/Source/core/dom/StaticNodeList.h
|
| +++ b/third_party/WebKit/Source/core/dom/StaticNodeList.h
|
| @@ -42,9 +42,9 @@ class Node;
|
| template <typename NodeType>
|
| class StaticNodeTypeList final : public NodeList {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<StaticNodeTypeList> adopt(WillBeHeapVector<RefPtrWillBeMember<NodeType>>& nodes);
|
| + static RawPtr<StaticNodeTypeList> adopt(HeapVector<Member<NodeType>>& nodes);
|
|
|
| - static PassRefPtrWillBeRawPtr<StaticNodeTypeList> createEmpty()
|
| + static RawPtr<StaticNodeTypeList> createEmpty()
|
| {
|
| return adoptRefWillBeNoop(new StaticNodeTypeList);
|
| }
|
| @@ -57,16 +57,16 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - WillBeHeapVector<RefPtrWillBeMember<NodeType>> m_nodes;
|
| + HeapVector<Member<NodeType>> m_nodes;
|
| };
|
|
|
| typedef StaticNodeTypeList<Node> StaticNodeList;
|
| typedef StaticNodeTypeList<Element> StaticElementList;
|
|
|
| template <typename NodeType>
|
| -PassRefPtrWillBeRawPtr<StaticNodeTypeList<NodeType>> StaticNodeTypeList<NodeType>::adopt(WillBeHeapVector<RefPtrWillBeMember<NodeType>>& nodes)
|
| +RawPtr<StaticNodeTypeList<NodeType>> StaticNodeTypeList<NodeType>::adopt(HeapVector<Member<NodeType>>& nodes)
|
| {
|
| - RefPtrWillBeRawPtr<StaticNodeTypeList<NodeType>> nodeList = adoptRefWillBeNoop(new StaticNodeTypeList<NodeType>);
|
| + RawPtr<StaticNodeTypeList<NodeType>> nodeList = adoptRefWillBeNoop(new StaticNodeTypeList<NodeType>);
|
| nodeList->m_nodes.swap(nodes);
|
| return nodeList.release();
|
| }
|
|
|