Index: Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
index 667aad9782877d4a01e8527b2a9dbd7a3d49b802..dceefe5d35b9c7392718ccf28cc0581d732afc70 100644 |
--- a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp |
@@ -38,7 +38,7 @@ SVGTextLayoutEngineBaseline::SVGTextLayoutEngineBaseline(const Font& font) |
float SVGTextLayoutEngineBaseline::calculateBaselineShift(const SVGRenderStyle& style, SVGElement* contextElement) const |
{ |
if (style.baselineShift() == BS_LENGTH) { |
- RefPtr<SVGLength> baselineShiftValueLength = style.baselineShiftValue(); |
+ RefPtrWillBeRawPtr<SVGLength> baselineShiftValueLength = style.baselineShiftValue(); |
if (baselineShiftValueLength->unitType() == LengthTypePercentage) |
return baselineShiftValueLength->valueAsPercentage() * m_font.fontDescription().computedPixelSize(); |