Index: third_party/WebKit/Source/core/paint/PaintLayerStackingNodeIterator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerStackingNodeIterator.cpp b/third_party/WebKit/Source/core/paint/PaintLayerStackingNodeIterator.cpp |
index 760ce68780e6678c2dd0dc5510e8bbfc953f0eb8..c31e6be2f687f05d81bedb056aaee1975d4d0fa4 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerStackingNodeIterator.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerStackingNodeIterator.cpp |
@@ -58,7 +58,7 @@ PaintLayerStackingNode* PaintLayerStackingNodeIterator::next() |
if (m_remainingChildren & NormalFlowChildren) { |
for (; m_currentNormalFlowChild; m_currentNormalFlowChild = m_currentNormalFlowChild->nextSibling()) { |
- if (!m_currentNormalFlowChild->stackingNode()->isTreatedAsOrStackingContext() && !m_currentNormalFlowChild->isReflection()) { |
+ if (!m_currentNormalFlowChild->stackingNode()->isStacked() && !m_currentNormalFlowChild->isReflection()) { |
PaintLayer* normalFlowChild = m_currentNormalFlowChild; |
m_currentNormalFlowChild = m_currentNormalFlowChild->nextSibling(); |
return normalFlowChild->stackingNode(); |
@@ -95,7 +95,7 @@ PaintLayerStackingNode* PaintLayerStackingNodeReverseIterator::next() |
if (m_remainingChildren & NormalFlowChildren) { |
for (; m_currentNormalFlowChild; m_currentNormalFlowChild = m_currentNormalFlowChild->previousSibling()) { |
- if (!m_currentNormalFlowChild->stackingNode()->isTreatedAsOrStackingContext() && !m_currentNormalFlowChild->isReflection()) { |
+ if (!m_currentNormalFlowChild->stackingNode()->isStacked() && !m_currentNormalFlowChild->isReflection()) { |
PaintLayer* normalFlowChild = m_currentNormalFlowChild; |
m_currentNormalFlowChild = m_currentNormalFlowChild->previousSibling(); |
return normalFlowChild->stackingNode(); |