Index: Source/core/rendering/OrderIterator.h |
diff --git a/Source/core/rendering/OrderIterator.h b/Source/core/rendering/OrderIterator.h |
index 8639bdcb1001f7a24c31fcdf2470ab73822bf86d..3f769852bf32da6be00c9e7473c66ecccf1a4654 100644 |
--- a/Source/core/rendering/OrderIterator.h |
+++ b/Source/core/rendering/OrderIterator.h |
@@ -51,8 +51,16 @@ public: |
void reset(); |
private: |
+ RenderBox* firstChildBox(); |
+ RenderBox* nextSiblingBox(); |
+ |
+ // If |m_children| is not empty, we will use it to iterate over this fixed subset. |
const RenderBox* m_containerBox; |
+ Vector<RenderBox*> m_children; |
+ |
RenderBox* m_currentChild; |
+ size_t m_childIndex; |
+ |
// The inline capacity for a single item is used to cover the most |
// common case by far: if we only have the default 'order' value 0. |
typedef Vector<int, 1> OrderValues; |
@@ -73,6 +81,7 @@ public: |
~OrderIteratorPopulator(); |
+ void storeChild(RenderBox*); |
void collectChild(const RenderBox*); |
private: |