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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2011. 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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& doc
ument) | 36 SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& doc
ument) |
37 : SVGAnimationElement(tagName, document) | 37 : SVGAnimationElement(tagName, document) |
38 { | 38 { |
39 ASSERT(isSVGAnimateElement(*this)); | 39 ASSERT(isSVGAnimateElement(*this)); |
40 ScriptWrappable::init(this); | 40 ScriptWrappable::init(this); |
41 } | 41 } |
42 | 42 |
43 PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
cument) | 43 PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
cument) |
44 { | 44 { |
45 return adoptRefWillBeRefCountedGarbageCollected(new SVGAnimateElement(SVGNam
es::animateTag, document)); | 45 return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, docume
nt)); |
46 } | 46 } |
47 | 47 |
48 SVGAnimateElement::~SVGAnimateElement() | 48 SVGAnimateElement::~SVGAnimateElement() |
49 { | 49 { |
50 } | 50 } |
51 | 51 |
52 AnimatedPropertyType SVGAnimateElement::animatedPropertyType() | 52 AnimatedPropertyType SVGAnimateElement::animatedPropertyType() |
53 { | 53 { |
54 return ensureAnimator()->type(); | 54 return ensureAnimator()->type(); |
55 } | 55 } |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 return m_animator.get(); | 395 return m_animator.get(); |
396 } | 396 } |
397 | 397 |
398 void SVGAnimateElement::trace(Visitor* visitor) | 398 void SVGAnimateElement::trace(Visitor* visitor) |
399 { | 399 { |
400 visitor->trace(m_animator); | 400 visitor->trace(m_animator); |
401 SVGAnimationElement::trace(visitor); | 401 SVGAnimationElement::trace(visitor); |
402 } | 402 } |
403 | 403 |
404 } | 404 } |
OLD | NEW |