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

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

Issue 1298173004: Implement proposed shadow tree cascade order. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed expected results and added another TODO. Created 5 years, 4 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
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DocumentOrderedList.h
diff --git a/Source/core/dom/DocumentOrderedList.h b/Source/core/dom/DocumentOrderedList.h
index 7cc6d0f14487e8b128504a9fd54672d467ec372e..0acb91bd2d2d75c85d0e5e304ce3bb970f8753b5 100644
--- a/Source/core/dom/DocumentOrderedList.h
+++ b/Source/core/dom/DocumentOrderedList.h
@@ -50,10 +50,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 | « Source/core/css/resolver/StyleResolver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698