Chromium Code Reviews| Index: Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
| diff --git a/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h b/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
| index 0ffc7f9e4a177bff07f4f522d13ca9f34adfaadd..1523ef847563216f16f87447dc18214b6341c2e1 100644 |
| --- a/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
| +++ b/Source/core/paint/DeprecatedPaintLayerStackingNodeIterator.h |
| @@ -43,18 +43,14 @@ enum ChildrenIteration { |
| }; |
| class DeprecatedPaintLayerStackingNode; |
| +class DeprecatedPaintLayer; |
| // This iterator walks the DeprecatedPaintLayerStackingNode lists in the following order: |
| // NegativeZOrderChildren -> NormalFlowChildren -> PositiveZOrderChildren. |
| class DeprecatedPaintLayerStackingNodeIterator { |
| WTF_MAKE_NONCOPYABLE(DeprecatedPaintLayerStackingNodeIterator); |
| public: |
| - DeprecatedPaintLayerStackingNodeIterator(const DeprecatedPaintLayerStackingNode& root, unsigned whichChildren) |
| - : m_root(root) |
| - , m_remainingChildren(whichChildren) |
| - , m_index(0) |
| - { |
| - } |
| + DeprecatedPaintLayerStackingNodeIterator(const DeprecatedPaintLayerStackingNode& root, unsigned whichChildren); |
| DeprecatedPaintLayerStackingNode* next(); |
| @@ -62,6 +58,7 @@ private: |
| const DeprecatedPaintLayerStackingNode& m_root; |
| unsigned m_remainingChildren; |
| unsigned m_index; |
| + DeprecatedPaintLayer* m_normalFlowCurrent; |
| }; |
| // This iterator is similar to DeprecatedPaintLayerStackingNodeIterator but it walks the lists in reverse order |
| @@ -84,6 +81,7 @@ private: |
| const DeprecatedPaintLayerStackingNode& m_root; |
| unsigned m_remainingChildren; |
| int m_index; |
| + DeprecatedPaintLayer* m_normalFlowCurrent; |
|
Julien - ping for review
2015/06/24 16:51:57
Renamed this variable too as Dan pointed out the n
|
| }; |
| } // namespace blink |