| 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 b399d0ca840924c41727f495400d7405e55d32a6..0f16c17a560fce0f0008c3a492646c6a649bb333 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGForeignObjectPainter.cpp
|
| @@ -59,9 +59,11 @@ void SVGForeignObjectPainter::paint(const PaintInfo& paintInfo) {
|
| continueRendering = paintContext.applyClipMaskAndFilterIfNecessary();
|
|
|
| if (continueRendering) {
|
| - // Paint all phases of FO elements atomically as though the FO element established its own stacking context.
|
| - // The delegate forwards calls to paint() in LayoutObject::paintAllPhasesAtomically() to
|
| - // BlockPainter::paint(), instead of m_layoutSVGForeignObject.paint() (which would call this method again).
|
| + // Paint all phases of FO elements atomically as though the FO element
|
| + // established its own stacking context. The delegate forwards calls to
|
| + // paint() in LayoutObject::paintAllPhasesAtomically() to
|
| + // BlockPainter::paint(), instead of m_layoutSVGForeignObject.paint() (which
|
| + // would call this method again).
|
| BlockPainterDelegate delegate(m_layoutSVGForeignObject);
|
| ObjectPainter(delegate).paintAllPhasesAtomically(paintContext.paintInfo(),
|
| LayoutPoint());
|
|
|