Index: third_party/WebKit/Source/core/dom/DocumentOrderedList.h |
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedList.h b/third_party/WebKit/Source/core/dom/DocumentOrderedList.h |
index 4e0c17b9aa42b174f9130633b297fca1d1a5a60c..0a6ff066ec83696a799994b59500d907243ca334 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedList.h |
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedList.h |
@@ -51,11 +51,14 @@ class DocumentOrderedList final { |
size_t size() const { return m_nodes.size(); } |
using iterator = HeapListHashSet<Member<Node>, 32>::iterator; |
+ using const_iterator = HeapListHashSet<Member<Node>, 32>::const_iterator; |
using const_reverse_iterator = |
HeapListHashSet<Member<Node>, 32>::const_reverse_iterator; |
iterator begin() { return m_nodes.begin(); } |
iterator end() { return m_nodes.end(); } |
+ const_iterator begin() const { return m_nodes.begin(); } |
+ const_iterator end() const { return m_nodes.end(); } |
const_reverse_iterator rbegin() const { return m_nodes.rbegin(); } |
const_reverse_iterator rend() const { return m_nodes.rend(); } |