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 362fe64a3d10b40217ac2a45c79c14e0e4b9d99d..f01e7c5ac2cb5a67a200c1fa383edf966f5193e2 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp |
@@ -50,10 +50,13 @@ void SVGForeignObjectPainter::paint(const PaintInfo& paintInfo) { |
// apply clip manually. See LayoutSVGBlock::allowsOverflowClip() for details. |
Optional<FloatClipRecorder> clipRecorder; |
if (SVGLayoutSupport::isOverflowHidden(&m_layoutSVGForeignObject)) { |
- clipRecorder.emplace(paintInfoBeforeFiltering.context, |
- m_layoutSVGForeignObject, |
- paintInfoBeforeFiltering.phase, |
- FloatRect(m_layoutSVGForeignObject.frameRect())); |
+ clipRecorder.emplace( |
+ paintInfoBeforeFiltering.context, paintInfoBeforeFiltering.phase, |
+ FloatRect(m_layoutSVGForeignObject.frameRect()), |
+ m_layoutSVGForeignObject.visualRect(), |
+ m_layoutSVGForeignObject.debugName(), |
+ m_layoutSVGForeignObject |
+ .paintedOutputOfObjectHasNoEffectRegardlessOfSize()); |
} |
SVGPaintContext paintContext(m_layoutSVGForeignObject, |