Chromium Code Reviews| Index: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
| diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
| index fcf37fccb3d9995d511262116eec5df4b9acbf4c..25fe4e7c569cd3f33b00aabb878cc50525bb664a 100644 |
| --- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
| +++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
| @@ -51,9 +51,6 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) { |
| FloatRect boundingBox = |
| m_layoutSVGShape.paintInvalidationRectInLocalSVGCoordinates(); |
| - if (!paintInfo.cullRect().intersectsCullRect( |
| - m_layoutSVGShape.localSVGTransform(), boundingBox)) |
| - return; |
| PaintInfo paintInfoBeforeFiltering(paintInfo); |
| // Shapes cannot have children so do not call updateCullRect. |
| @@ -134,6 +131,10 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) { |
| } |
| } |
| + if (!paintInfo.cullRect().intersectsCullRect( |
|
fs
2016/10/31 09:59:22
This does not look like the right fix. Here you're
hyunjunekim2
2016/10/31 13:18:30
I will check it for the right fix.
|
| + m_layoutSVGShape.localSVGTransform(), boundingBox)) |
| + return; |
| + |
| if (m_layoutSVGShape.style()->outlineWidth()) { |
| PaintInfo outlinePaintInfo(paintInfoBeforeFiltering); |
| outlinePaintInfo.phase = PaintPhaseSelfOutlineOnly; |