| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // hasValidAttributeType above.) | 58 // hasValidAttributeType above.) |
| 59 m_cssPropertyId = CSSPropertyInvalid; | 59 m_cssPropertyId = CSSPropertyInvalid; |
| 60 } | 60 } |
| 61 | 61 |
| 62 SVGPropertyBase* SVGAnimateTransformElement::createPropertyForAnimation( | 62 SVGPropertyBase* SVGAnimateTransformElement::createPropertyForAnimation( |
| 63 const String& value) const { | 63 const String& value) const { |
| 64 DCHECK(isAnimatingSVGDom()); | 64 DCHECK(isAnimatingSVGDom()); |
| 65 return SVGTransformList::create(m_transformType, value); | 65 return SVGTransformList::create(m_transformType, value); |
| 66 } | 66 } |
| 67 | 67 |
| 68 void SVGAnimateTransformElement::parseAttribute(const QualifiedName& name, | 68 void SVGAnimateTransformElement::parseAttribute( |
| 69 const AtomicString& oldValue, | 69 const AttributeModificationParams& params) { |
| 70 const AtomicString& value) { | 70 if (params.name == SVGNames::typeAttr) { |
| 71 if (name == SVGNames::typeAttr) { | 71 m_transformType = parseTransformType(params.newValue); |
| 72 m_transformType = parseTransformType(value); | |
| 73 if (m_transformType == kSvgTransformMatrix) | 72 if (m_transformType == kSvgTransformMatrix) |
| 74 m_transformType = kSvgTransformUnknown; | 73 m_transformType = kSvgTransformUnknown; |
| 75 return; | 74 return; |
| 76 } | 75 } |
| 77 | 76 |
| 78 SVGAnimateElement::parseAttribute(name, oldValue, value); | 77 SVGAnimateElement::parseAttribute(params); |
| 79 } | 78 } |
| 80 | 79 |
| 81 } // namespace blink | 80 } // namespace blink |
| OLD | NEW |