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 19 matching lines...) Expand all Loading... |
30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
31 #include "core/dom/QualifiedName.h" | 31 #include "core/dom/QualifiedName.h" |
32 #include "core/svg/SVGAnimatedTypeAnimator.h" | 32 #include "core/svg/SVGAnimatedTypeAnimator.h" |
33 #include "core/svg/SVGDocumentExtensions.h" | 33 #include "core/svg/SVGDocumentExtensions.h" |
34 | 34 |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& doc
ument) | 37 SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& doc
ument) |
38 : SVGAnimationElement(tagName, document) | 38 : SVGAnimationElement(tagName, document) |
39 { | 39 { |
40 ScriptWrappable::init(this); | |
41 } | 40 } |
42 | 41 |
43 PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
cument) | 42 PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
cument) |
44 { | 43 { |
45 return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, docume
nt)); | 44 return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, docume
nt)); |
46 } | 45 } |
47 | 46 |
48 SVGAnimateElement::~SVGAnimateElement() | 47 SVGAnimateElement::~SVGAnimateElement() |
49 { | 48 { |
50 } | 49 } |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 return m_animator.get(); | 394 return m_animator.get(); |
396 } | 395 } |
397 | 396 |
398 void SVGAnimateElement::trace(Visitor* visitor) | 397 void SVGAnimateElement::trace(Visitor* visitor) |
399 { | 398 { |
400 visitor->trace(m_animator); | 399 visitor->trace(m_animator); |
401 SVGAnimationElement::trace(visitor); | 400 SVGAnimationElement::trace(visitor); |
402 } | 401 } |
403 | 402 |
404 } | 403 } |
OLD | NEW |