| Index: Source/core/paint/DeprecatedPaintLayerPainter.cpp
|
| diff --git a/Source/core/paint/DeprecatedPaintLayerPainter.cpp b/Source/core/paint/DeprecatedPaintLayerPainter.cpp
|
| index b3e1e59e9bcc5775b3d71277d7e553ac160d19c4..2cf55bf4a1647924d93f534ac6c2214c2eb48578 100644
|
| --- a/Source/core/paint/DeprecatedPaintLayerPainter.cpp
|
| +++ b/Source/core/paint/DeprecatedPaintLayerPainter.cpp
|
| @@ -626,11 +626,11 @@ void DeprecatedPaintLayerPainter::paintOutlineForFragments(const DeprecatedPaint
|
| {
|
| bool needsScope = layerFragments.size() > 1;
|
| for (auto& fragment : layerFragments) {
|
| - if (!fragment.outlineRect.isEmpty()) {
|
| + if (!fragment.backgroundRect.isEmpty()) {
|
| Optional<ScopeRecorder> scopeRecorder;
|
| if (needsScope)
|
| scopeRecorder.emplace(*context);
|
| - paintFragmentWithPhase(PaintPhaseSelfOutline, fragment, context, fragment.outlineRect, localPaintingInfo, paintingRootForLayoutObject, paintFlags, HasNotClipped);
|
| + paintFragmentWithPhase(PaintPhaseSelfOutline, fragment, context, fragment.backgroundRect, localPaintingInfo, paintingRootForLayoutObject, paintFlags, HasNotClipped);
|
| }
|
| }
|
| }
|
|
|