| 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 ASSERT(isSVGAnimateElement(*this)); | |
| 41 ScriptWrappable::init(this); | 40 ScriptWrappable::init(this); |
| 42 } | 41 } |
| 43 | 42 |
| 44 PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
cument) | 43 PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& do
cument) |
| 45 { | 44 { |
| 46 return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, docume
nt)); | 45 return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, docume
nt)); |
| 47 } | 46 } |
| 48 | 47 |
| 49 SVGAnimateElement::~SVGAnimateElement() | 48 SVGAnimateElement::~SVGAnimateElement() |
| 50 { | 49 { |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 return m_animator.get(); | 395 return m_animator.get(); |
| 397 } | 396 } |
| 398 | 397 |
| 399 void SVGAnimateElement::trace(Visitor* visitor) | 398 void SVGAnimateElement::trace(Visitor* visitor) |
| 400 { | 399 { |
| 401 visitor->trace(m_animator); | 400 visitor->trace(m_animator); |
| 402 SVGAnimationElement::trace(visitor); | 401 SVGAnimationElement::trace(visitor); |
| 403 } | 402 } |
| 404 | 403 |
| 405 } | 404 } |
| OLD | NEW |