| Index: third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp b/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
|
| index fe0e9a4b7ec3bf3978e09526ae4d09cbeb96b015..fe1c8222a2f818aec6f0537d24aebe56b7432e16 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGMarkerElement.cpp
|
| @@ -116,18 +116,14 @@ void SVGMarkerElement::childrenChanged(const ChildrenChange& change)
|
|
|
| void SVGMarkerElement::setOrientToAuto()
|
| {
|
| - m_orientAngle->baseValue()->orientType()->setEnumValue(SVGMarkerOrientAuto);
|
| - invalidateSVGAttributes();
|
| - svgAttributeBaseValChanged(SVGNames::orientAttr);
|
| + setAttribute(SVGNames::orientAttr, "auto");
|
| }
|
|
|
| void SVGMarkerElement::setOrientToAngle(PassRefPtrWillBeRawPtr<SVGAngleTearOff> angle)
|
| {
|
| ASSERT(angle);
|
| RefPtrWillBeRawPtr<SVGAngle> target = angle->target();
|
| - m_orientAngle->baseValue()->newValueSpecifiedUnits(target->unitType(), target->valueInSpecifiedUnits());
|
| - invalidateSVGAttributes();
|
| - svgAttributeBaseValChanged(SVGNames::orientAttr);
|
| + setAttribute(SVGNames::orientAttr, AtomicString(target->valueAsString()));
|
| }
|
|
|
| LayoutObject* SVGMarkerElement::createLayoutObject(const ComputedStyle&)
|
|
|