Index: third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp b/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp |
index 592960e05d311fa14ec6b225d996ee9abc696887..f1db561bc15e612bee5ed54f6959dfb6723e249e 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp |
@@ -23,11 +23,11 @@ void SVGForeignObjectPainter::paint(const PaintInfo& paintInfo) |
PaintInfo paintInfoBeforeFiltering(paintInfo); |
paintInfoBeforeFiltering.updateCullRect(m_layoutSVGForeignObject.localTransform()); |
- TransformRecorder transformRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGForeignObject, m_layoutSVGForeignObject.localTransform()); |
+ TransformRecorder transformRecorder(paintInfoBeforeFiltering.context, m_layoutSVGForeignObject, m_layoutSVGForeignObject.localTransform()); |
Optional<FloatClipRecorder> clipRecorder; |
if (SVGLayoutSupport::isOverflowHidden(&m_layoutSVGForeignObject)) |
- clipRecorder.emplace(*paintInfoBeforeFiltering.context, m_layoutSVGForeignObject, paintInfoBeforeFiltering.phase, m_layoutSVGForeignObject.viewportRect()); |
+ clipRecorder.emplace(paintInfoBeforeFiltering.context, m_layoutSVGForeignObject, paintInfoBeforeFiltering.phase, m_layoutSVGForeignObject.viewportRect()); |
SVGPaintContext paintContext(m_layoutSVGForeignObject, paintInfoBeforeFiltering); |
bool continueRendering = true; |