| 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 // FIXME: Oilpan: Below prevent stopAnimValAnimation being called on |target
Element|. This should be moved to |removeFrom| equivalent. | 50 // FIXME: Oilpan: Below prevent stopAnimValAnimation being called on |target
Element|. This should be moved to |removeFrom| equivalent. |
| 51 #if !ENABLE(OILPAN) | 51 #if !ENABLE(OILPAN) |
| 52 if (targetElement()) | 52 if (targetElement()) |
| 53 clearAnimatedType(targetElement()); | 53 clearAnimatedType(targetElement()); |
| 54 #endif | 54 #endif |
| 55 } | 55 } |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 return m_animator.get(); | 400 return m_animator.get(); |
| 401 } | 401 } |
| 402 | 402 |
| 403 void SVGAnimateElement::trace(Visitor* visitor) | 403 void SVGAnimateElement::trace(Visitor* visitor) |
| 404 { | 404 { |
| 405 visitor->trace(m_animator); | 405 visitor->trace(m_animator); |
| 406 SVGAnimationElement::trace(visitor); | 406 SVGAnimationElement::trace(visitor); |
| 407 } | 407 } |
| 408 | 408 |
| 409 } | 409 } |
| OLD | NEW |