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 09c7b1cf7abd3599d22abadc69257c1948fffa0f..2fc81780e405c1276ce4f0994d59e33edaa696a1 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
@@ -73,7 +73,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) { |
svgStyle.shapeRendering() != SR_OPTIMIZESPEED; |
for (int i = 0; i < 3; i++) { |
- switch (svgStyle.paintOrderType(i)) { |
+ switch (m_layoutSVGShape.style()->paintOrderType(i)) { |
case PT_FILL: { |
PaintFlags fillFlags; |
if (!SVGPaintContext::paintForLayoutObject( |
@@ -86,7 +86,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) { |
break; |
} |
case PT_STROKE: |
- if (svgStyle.hasVisibleStroke()) { |
+ if (m_layoutSVGShape.style()->hasVisibleStroke()) { |
GraphicsContextStateSaver stateSaver( |
paintContext.paintInfo().context, false); |
AffineTransform nonScalingTransform; |
@@ -176,7 +176,7 @@ void SVGShapePainter::fillShape(GraphicsContext& context, |
void SVGShapePainter::strokeShape(GraphicsContext& context, |
const PaintFlags& flags) { |
- if (!m_layoutSVGShape.style()->svgStyle().hasVisibleStroke()) |
+ if (!m_layoutSVGShape.style()->hasVisibleStroke()) |
return; |
switch (m_layoutSVGShape.geometryCodePath()) { |