Index: Source/core/paint/DeprecatedPaintLayer.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp |
index aa33334b5a63398d298be41c12dcfda82f610cba..ec466d638051327c22a19917f221f752348b3eac 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp |
@@ -783,7 +783,7 @@ bool DeprecatedPaintLayer::updateLayerPosition() |
localPoint -= offset; |
} |
- if (positionedParent->layoutObject()->isRelPositioned() && positionedParent->layoutObject()->isLayoutInline()) { |
+ if (positionedParent->layoutObject()->isInFlowPositioned() && positionedParent->layoutObject()->isLayoutInline()) { |
LayoutSize offset = toLayoutInline(positionedParent->layoutObject())->offsetForInFlowPositionedInline(*toLayoutBox(layoutObject())); |
localPoint += offset; |
} |
@@ -793,7 +793,7 @@ bool DeprecatedPaintLayer::updateLayerPosition() |
} |
bool positionOrOffsetChanged = false; |
- if (layoutObject()->isRelPositioned()) { |
+ if (layoutObject()->isInFlowPositioned()) { |
LayoutSize newOffset = layoutObject()->offsetForInFlowPosition(); |
positionOrOffsetChanged = newOffset != m_offsetForInFlowPosition; |
m_offsetForInFlowPosition = newOffset; |