Paste number 22342: | Fix logical error |
Pasted by: | rwlbuis |
When: | 18 years, 7 months ago |
Share: | Tweet this! | http://paste.lisp.org/+H8M |
Channel: | #webkit |
Paste contents: |
ndex: WebCore/ksvg2/svg/SVGLineElement.cpp =================================================================== --- WebCore/ksvg2/svg/SVGLineElement.cpp (revision 15297) +++ WebCore/ksvg2/svg/SVGLineElement.cpp (working copy) @@ -54,7 +54,7 @@ SVGAnimatedLength *SVGLineElement::x2() const { - return lazy_create<SVGAnimatedLength>(m_x2, this, LM_HEIGHT, viewportElement()); + return lazy_create<SVGAnimatedLength>(m_x2, this, LM_WIDTH, viewportElement()); } SVGAnimatedLength *SVGLineElement::y2() const Index: WebCore/ksvg2/svg/SVGEllipseElement.cpp =================================================================== --- WebCore/ksvg2/svg/SVGEllipseElement.cpp (revision 15297) +++ WebCore/ksvg2/svg/SVGEllipseElement.cpp (working copy) @@ -54,7 +54,7 @@ SVGAnimatedLength *SVGEllipseElement::rx() const { - return lazy_create<SVGAnimatedLength>(m_rx, this, LM_HEIGHT, viewportElement()); + return lazy_create<SVGAnimatedLength>(m_rx, this, LM_WIDTH, viewportElement()); } SVGAnimatedLength *SVGEllipseElement::ry() const
This paste has no annotations.