Index: third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
index 478925bdd5a8a79f6cd86cda72db21c34ee95957..08c4e3f4d8d268f71b3dc41c8e1aa9fa455195ce 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGRootPainter.cpp |
@@ -24,7 +24,7 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO |
return; |
// SVG outlines are painted during PaintPhaseForeground. |
- if (paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) |
+ if (shouldPaintSelfOutline(paintInfo.phase)) |
return; |
// An empty viewBox also disables rendering. |