Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 931573cb051845400c313e5f5d2547a71a9895e7..7a62e7773f1c119e0cc742b5da67e03b1cde0369 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
@@ -43,9 +43,9 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
public:
DECLARE_NODE_FACTORY(HTMLSlotElement);
- const WillBeHeapVector<RefPtrWillBeMember<Node>>& getAssignedNodes() const { ASSERT(!needsDistributionRecalc()); return m_assignedNodes; }
- const WillBeHeapVector<RefPtrWillBeMember<Node>>& getDistributedNodes();
- const WillBeHeapVector<RefPtrWillBeMember<Node>> getAssignedNodesForBinding(const AssignedNodesOptions&);
+ const HeapVector<Member<Node>>& getAssignedNodes() const { ASSERT(!needsDistributionRecalc()); return m_assignedNodes; }
+ const HeapVector<Member<Node>>& getDistributedNodes();
+ const HeapVector<Member<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(); }
@@ -74,9 +74,9 @@ private:
InsertionNotificationRequest insertedInto(ContainerNode*) override;
void removedFrom(ContainerNode*) override;
- WillBeHeapVector<RefPtrWillBeMember<Node>> m_assignedNodes;
- WillBeHeapVector<RefPtrWillBeMember<Node>> m_distributedNodes;
- WillBeHeapHashMap<RawPtrWillBeMember<const Node>, size_t> m_distributedIndices;
+ HeapVector<Member<Node>> m_assignedNodes;
+ HeapVector<Member<Node>> m_distributedNodes;
+ HeapHashMap<Member<const Node>, size_t> m_distributedIndices;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698