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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/DistributedNodes.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, 9 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/dom/shadow/DistributedNodes.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h
index 7197febae195ec98d6874bd8670fb84819d3f61c..d117d495a03398611bf2e7ede164478ac536f046 100644
--- a/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h
+++ b/third_party/WebKit/Source/core/dom/shadow/DistributedNodes.h
@@ -42,14 +42,14 @@ class DistributedNodes final {
public:
DistributedNodes() { }
- PassRefPtrWillBeRawPtr<Node> first() const { return m_nodes.first(); }
- PassRefPtrWillBeRawPtr<Node> last() const { return m_nodes.last(); }
- PassRefPtrWillBeRawPtr<Node> at(size_t index) const { return m_nodes.at(index); }
+ RawPtr<Node> first() const { return m_nodes.first(); }
+ RawPtr<Node> last() const { return m_nodes.last(); }
+ RawPtr<Node> at(size_t index) const { return m_nodes.at(index); }
size_t size() const { return m_nodes.size(); }
bool isEmpty() const { return m_nodes.isEmpty(); }
- void append(PassRefPtrWillBeRawPtr<Node>);
+ void append(RawPtr<Node>);
void clear() { m_nodes.clear(); m_indices.clear(); }
void shrinkToFit() { m_nodes.shrinkToFit(); }
@@ -63,8 +63,8 @@ public:
DECLARE_TRACE();
private:
- WillBeHeapVector<RefPtrWillBeMember<Node>> m_nodes;
- WillBeHeapHashMap<RawPtrWillBeMember<const Node>, size_t> m_indices;
+ HeapVector<Member<Node>> m_nodes;
+ HeapHashMap<Member<const Node>, size_t> m_indices;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698