Index: Source/core/paint/DeprecatedPaintLayer.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp |
index 8f81438d191b53a8bd1b75dbbeec10a6ec70eaf8..b204f95d5cf7aae4e413fc2daca0057809f2205a 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp |
@@ -1441,7 +1441,7 @@ void DeprecatedPaintLayer::collectFragments(DeprecatedPaintLayerFragments& fragm |
ancestorClipRect.intersect(dirtyRect); |
} |
- const LayoutSize subPixelAccumulationIfNeeded = compositingState() == PaintsIntoOwnBacking ? LayoutSize() : subPixelAccumulation; |
+ const LayoutSize subPixelAccumulationIfNeeded = offsetFromRoot ? subPixelAccumulation : LayoutSize(); |
for (size_t i = 0; i < fragments.size(); ++i) { |
DeprecatedPaintLayerFragment& fragment = fragments.at(i); |