| Index: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| index c135ec20d9b3622a26a0c4bb5a41648cf579c357..e977a294b3fb4fc490dd296b06980bb5a931af08 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| @@ -271,7 +271,7 @@ void SVGInlineTextBoxPainter::paintDecoration(const PaintInfo& paintInfo, TextDe
|
| break;
|
| strokePaint.setAntiAlias(true);
|
| StrokeData strokeData;
|
| - SVGLayoutSupport::applyStrokeStyleToStrokeData(strokeData, decorationStyle, *decorationLayoutObject);
|
| + SVGLayoutSupport::applyStrokeStyleToStrokeData(strokeData, decorationStyle, *decorationLayoutObject, 1);
|
| if (svgDecorationStyle.vectorEffect() == VE_NON_SCALING_STROKE)
|
| strokeData.setThickness(strokeData.thickness() / scalingFactor);
|
| strokeData.setupPaint(&strokePaint);
|
| @@ -320,7 +320,7 @@ bool SVGInlineTextBoxPainter::setupTextPaint(const PaintInfo& paintInfo, const C
|
|
|
| if (resourceMode == ApplyToStrokeMode) {
|
| StrokeData strokeData;
|
| - SVGLayoutSupport::applyStrokeStyleToStrokeData(strokeData, style, *LineLayoutAPIShim::layoutObjectFrom(m_svgInlineTextBox.parent()->lineLayoutItem()));
|
| + SVGLayoutSupport::applyStrokeStyleToStrokeData(strokeData, style, *LineLayoutAPIShim::layoutObjectFrom(m_svgInlineTextBox.parent()->lineLayoutItem()), 1);
|
| if (style.svgStyle().vectorEffect() != VE_NON_SCALING_STROKE)
|
| strokeData.setThickness(strokeData.thickness() * scalingFactor);
|
| strokeData.setupPaint(&paint);
|
|
|