| Index: third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| index 4e0afd363f371f7f592421581cc686cd6c108529..abe160f244de33435a717b263697d2d046a6a1c1 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp
|
| @@ -48,7 +48,7 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
|
| Optional<ClipRecorder> clipRecorder;
|
| if (m_layoutSVGRoot.shouldApplyViewportClip()) {
|
| // TODO(pdr): Clip the paint info cull rect here.
|
| - clipRecorder.emplace(*paintInfoBeforeFiltering.context, m_layoutSVGRoot, paintInfoBeforeFiltering.displayItemTypeForClipping(), LayoutRect(pixelSnappedIntRect(m_layoutSVGRoot.overflowClipRect(paintOffset))));
|
| + clipRecorder.emplace(paintInfoBeforeFiltering.context, m_layoutSVGRoot, paintInfoBeforeFiltering.displayItemTypeForClipping(), LayoutRect(pixelSnappedIntRect(m_layoutSVGRoot.overflowClipRect(paintOffset))));
|
| }
|
|
|
| // Convert from container offsets (html layoutObjects) to a relative transform (svg layoutObjects).
|
| @@ -56,7 +56,7 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
|
| IntPoint adjustedPaintOffset = roundedIntPoint(paintOffset);
|
| AffineTransform paintOffsetToBorderBox = AffineTransform::translation(adjustedPaintOffset.x(), adjustedPaintOffset.y()) * m_layoutSVGRoot.localToBorderBoxTransform();
|
| paintInfoBeforeFiltering.updateCullRect(paintOffsetToBorderBox);
|
| - TransformRecorder transformRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGRoot, paintOffsetToBorderBox);
|
| + TransformRecorder transformRecorder(paintInfoBeforeFiltering.context, m_layoutSVGRoot, paintOffsetToBorderBox);
|
|
|
| SVGPaintContext paintContext(m_layoutSVGRoot, paintInfoBeforeFiltering);
|
| if (paintContext.paintInfo().phase == PaintPhaseForeground && !paintContext.applyClipMaskAndFilterIfNecessary())
|
|
|