Index: third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp b/third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp |
index 65d2b5b9498db8cfbd61c498f6657af388f77f04..1294970faa3806e8506b59b557ce481c4b223e6b 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGContainerPainter.cpp |
@@ -35,12 +35,12 @@ void SVGContainerPainter::paint(const PaintInfo& paintInfo) |
PaintInfo paintInfoBeforeFiltering(paintInfo); |
paintInfoBeforeFiltering.updateCullRect(m_layoutSVGContainer.localToParentTransform()); |
- TransformRecorder transformRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGContainer, m_layoutSVGContainer.localToParentTransform()); |
+ TransformRecorder transformRecorder(paintInfoBeforeFiltering.context, m_layoutSVGContainer, m_layoutSVGContainer.localToParentTransform()); |
{ |
Optional<FloatClipRecorder> clipRecorder; |
if (m_layoutSVGContainer.isSVGViewportContainer() && SVGLayoutSupport::isOverflowHidden(&m_layoutSVGContainer)) { |
FloatRect viewport = m_layoutSVGContainer.localToParentTransform().inverse().mapRect(toLayoutSVGViewportContainer(m_layoutSVGContainer).viewport()); |
- clipRecorder.emplace(*paintInfoBeforeFiltering.context, m_layoutSVGContainer, paintInfoBeforeFiltering.phase, viewport); |
+ clipRecorder.emplace(paintInfoBeforeFiltering.context, m_layoutSVGContainer, paintInfoBeforeFiltering.phase, viewport); |
} |
SVGPaintContext paintContext(m_layoutSVGContainer, paintInfoBeforeFiltering); |