Index: Source/core/style/ComputedStyle.h |
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h |
index e8f1dd447b7c3da63b8cea7aa1f136bd3b89779c..5e4aabdbc4627aebd9ffc7e748c9fa125e28b3e7 100644 |
--- a/Source/core/style/ComputedStyle.h |
+++ b/Source/core/style/ComputedStyle.h |
@@ -1470,8 +1470,14 @@ public: |
void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } |
void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c); } |
+ EBaselineShift baselineShift() const { return svgStyle().baselineShift(); } |
const Length& baselineShiftValue() const { return svgStyle().baselineShiftValue(); } |
- void setBaselineShiftValue(const Length& s) { accessSVGStyle().setBaselineShiftValue(s); } |
+ void setBaselineShiftValue(const Length& value) |
+ { |
+ SVGComputedStyle& svgStyle = accessSVGStyle(); |
+ svgStyle.setBaselineShift(BS_LENGTH); |
+ svgStyle.setBaselineShiftValue(value); |
+ } |
void setShapeOutside(PassRefPtrWillBeRawPtr<ShapeValue> value) |
{ |