Index: Source/core/paint/DeprecatedPaintLayer.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp |
index 83f026517b2d4eb8cec6a02dd67551f9d86ada16..3f0272a05793fd339506a8d4782db77009aaa712 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp |
@@ -1445,7 +1445,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); |