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 18 matching lines...) Expand all Loading... |
29 #include "SVGNames.h" | 29 #include "SVGNames.h" |
30 #include "SVGTransformable.h" | 30 #include "SVGTransformable.h" |
31 | 31 |
32 namespace WebCore { | 32 namespace WebCore { |
33 | 33 |
34 inline SVGAnimateTransformElement::SVGAnimateTransformElement(const QualifiedNam
e& tagName, Document* document) | 34 inline SVGAnimateTransformElement::SVGAnimateTransformElement(const QualifiedNam
e& tagName, Document* document) |
35 : SVGAnimateElement(tagName, document) | 35 : SVGAnimateElement(tagName, document) |
36 , m_type(SVGTransform::SVG_TRANSFORM_UNKNOWN) | 36 , m_type(SVGTransform::SVG_TRANSFORM_UNKNOWN) |
37 { | 37 { |
38 ASSERT(hasTagName(SVGNames::animateTransformTag)); | 38 ASSERT(hasTagName(SVGNames::animateTransformTag)); |
| 39 ScriptWrappable::init(this); |
39 } | 40 } |
40 | 41 |
41 PassRefPtr<SVGAnimateTransformElement> SVGAnimateTransformElement::create(const
QualifiedName& tagName, Document* document) | 42 PassRefPtr<SVGAnimateTransformElement> SVGAnimateTransformElement::create(const
QualifiedName& tagName, Document* document) |
42 { | 43 { |
43 return adoptRef(new SVGAnimateTransformElement(tagName, document)); | 44 return adoptRef(new SVGAnimateTransformElement(tagName, document)); |
44 } | 45 } |
45 | 46 |
46 bool SVGAnimateTransformElement::hasValidAttributeType() | 47 bool SVGAnimateTransformElement::hasValidAttributeType() |
47 { | 48 { |
48 SVGElement* targetElement = this->targetElement(); | 49 SVGElement* targetElement = this->targetElement(); |
(...skipping 24 matching lines...) Expand all Loading... |
73 m_type = SVGTransform::SVG_TRANSFORM_UNKNOWN; | 74 m_type = SVGTransform::SVG_TRANSFORM_UNKNOWN; |
74 return; | 75 return; |
75 } | 76 } |
76 | 77 |
77 ASSERT_NOT_REACHED(); | 78 ASSERT_NOT_REACHED(); |
78 } | 79 } |
79 | 80 |
80 } | 81 } |
81 | 82 |
82 #endif // ENABLE(SVG) | 83 #endif // ENABLE(SVG) |
OLD | NEW |