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

Unified Diff: third_party/WebKit/Source/core/dom/DocumentOrderedList.h

Issue 1803933002: Use correct cascading order for Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix enum 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/DocumentOrderedList.h
diff --git a/third_party/WebKit/Source/core/dom/DocumentOrderedList.h b/third_party/WebKit/Source/core/dom/DocumentOrderedList.h
index 480866bca2b3bf0e625b1ae74325c4e866f69996..a39792b29bbb664a697242d1fa53b842884bddd1 100644
--- a/third_party/WebKit/Source/core/dom/DocumentOrderedList.h
+++ b/third_party/WebKit/Source/core/dom/DocumentOrderedList.h
@@ -48,10 +48,14 @@ public:
size_t size() const { return m_nodes.size(); }
using iterator = WillBeHeapListHashSet<RawPtrWillBeMember<Node>, 32>::iterator;
+ using const_reverse_iterator = WillBeHeapListHashSet<RawPtrWillBeMember<Node>, 32>::const_reverse_iterator;
iterator begin() { return m_nodes.begin(); }
iterator end() { return m_nodes.end(); }
+ const_reverse_iterator rbegin() const { return m_nodes.rbegin(); }
+ const_reverse_iterator rend() const { return m_nodes.rend(); }
+
DECLARE_TRACE();
private:
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698