| Index: Source/core/paint/SVGImagePainter.cpp
|
| diff --git a/Source/core/paint/SVGImagePainter.cpp b/Source/core/paint/SVGImagePainter.cpp
|
| index 4601ae3a55bc4d0e730b9d680cbafc472da66642..c4c497aa1adf3110cf64059dd7b6757f8ab853d4 100644
|
| --- a/Source/core/paint/SVGImagePainter.cpp
|
| +++ b/Source/core/paint/SVGImagePainter.cpp
|
| @@ -37,7 +37,7 @@ void SVGImagePainter::paint(const PaintInfo& paintInfo)
|
| {
|
| SVGPaintContext paintContext(m_layoutSVGImage, paintInfoBeforeFiltering);
|
| if (paintContext.applyClipMaskAndFilterIfNecessary() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintContext.paintInfo().context, m_layoutSVGImage, paintContext.paintInfo().phase)) {
|
| - LayoutObjectDrawingRecorder recorder(*paintContext.paintInfo().context, m_layoutSVGImage, paintContext.paintInfo().phase, boundingBox);
|
| + LayoutObjectDrawingRecorder recorder(*paintContext.paintInfo().context, m_layoutSVGImage, paintContext.paintInfo().phase, LayoutRect(enclosingIntRect(boundingBox)));
|
| // There's no need to cache a buffered SkPicture with slimming
|
| // paint because it's automatically done in the display list.
|
| if (m_layoutSVGImage.style()->svgStyle().bufferedRendering() != BR_STATIC || RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
|
|