| Index: Source/core/layout/style/SVGLayoutStyle.h
|
| diff --git a/Source/core/layout/style/SVGLayoutStyle.h b/Source/core/layout/style/SVGLayoutStyle.h
|
| index e4338dab45a95108322d27b02e0ff1120550f684..4689a715d7b5be6002f7885647c992b0adfce972 100644
|
| --- a/Source/core/layout/style/SVGLayoutStyle.h
|
| +++ b/Source/core/layout/style/SVGLayoutStyle.h
|
| @@ -52,6 +52,7 @@ public:
|
| static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; }
|
| static EDominantBaseline initialDominantBaseline() { return DB_AUTO; }
|
| static EBaselineShift initialBaselineShift() { return BS_BASELINE; }
|
| + static Length initialBaselineShiftValue() { return Length(Fixed); }
|
| static EVectorEffect initialVectorEffect() { return VE_NONE; }
|
| static EBufferedRendering initialBufferedRendering() { return BR_AUTO; }
|
| static LineCap initialCapStyle() { return ButtCap; }
|
| @@ -92,13 +93,6 @@ public:
|
| static Length initialX() { return Length(Fixed); }
|
| static Length initialY() { return Length(Fixed); }
|
|
|
| - static PassRefPtrWillBeRawPtr<SVGLength> initialBaselineShiftValue()
|
| - {
|
| - RefPtrWillBeRawPtr<SVGLength> length = SVGLength::create();
|
| - length->newValueSpecifiedUnits(LengthTypeNumber, 0);
|
| - return length.release();
|
| - }
|
| -
|
| static PassRefPtrWillBeRawPtr<SVGLength> initialStrokeDashOffset()
|
| {
|
| RefPtrWillBeRawPtr<SVGLength> length = SVGLength::create();
|
| @@ -249,10 +243,10 @@ public:
|
| misc.access()->lightingColor = obj;
|
| }
|
|
|
| - void setBaselineShiftValue(PassRefPtrWillBeRawPtr<SVGLength> obj)
|
| + void setBaselineShiftValue(const Length& baselineShiftValue)
|
| {
|
| - if (!(misc->baselineShiftValue == obj))
|
| - misc.access()->baselineShiftValue = obj;
|
| + if (!(misc->baselineShiftValue == baselineShiftValue))
|
| + misc.access()->baselineShiftValue = baselineShiftValue;
|
| }
|
|
|
| // Setters for non-inherited resources
|
| @@ -328,7 +322,7 @@ public:
|
| float floodOpacity() const { return misc->floodOpacity; }
|
| const Color& floodColor() const { return misc->floodColor; }
|
| const Color& lightingColor() const { return misc->lightingColor; }
|
| - SVGLength* baselineShiftValue() const { return misc->baselineShiftValue.get(); }
|
| + const Length& baselineShiftValue() const { return misc->baselineShiftValue; }
|
| const Length& x() const { return layout->x; }
|
| const Length& y() const { return layout->y; }
|
| const AtomicString& clipperResource() const { return resources->clipper; }
|
|
|