Index: Source/core/style/ComputedStyle.h |
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h |
index 40185f5ec6d99f24b0de770c56642a363c26e3db..710a4b454517c26ccb5e5ef81bc516093edc77d1 100644 |
--- a/Source/core/style/ComputedStyle.h |
+++ b/Source/core/style/ComputedStyle.h |
@@ -1481,8 +1481,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) |
{ |