| 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 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 namespace blink { | 27 namespace blink { |
| 28 | 28 |
| 29 inline SVGFEMergeNodeElement::SVGFEMergeNodeElement(Document& document) | 29 inline SVGFEMergeNodeElement::SVGFEMergeNodeElement(Document& document) |
| 30 : SVGElement(SVGNames::feMergeNodeTag, document) | 30 : SVGElement(SVGNames::feMergeNodeTag, document) |
| 31 , m_in1(SVGAnimatedString::create(this, SVGNames::inAttr, SVGString::create(
))) | 31 , m_in1(SVGAnimatedString::create(this, SVGNames::inAttr, SVGString::create(
))) |
| 32 { | 32 { |
| 33 addToPropertyMap(m_in1); | 33 addToPropertyMap(m_in1); |
| 34 } | 34 } |
| 35 | 35 |
| 36 void SVGFEMergeNodeElement::trace(Visitor* visitor) |
| 37 { |
| 38 visitor->trace(m_in1); |
| 39 SVGElement::trace(visitor); |
| 40 } |
| 41 |
| 36 DEFINE_NODE_FACTORY(SVGFEMergeNodeElement) | 42 DEFINE_NODE_FACTORY(SVGFEMergeNodeElement) |
| 37 | 43 |
| 38 void SVGFEMergeNodeElement::parseAttribute(const QualifiedName& name, const Atom
icString& value) | 44 void SVGFEMergeNodeElement::parseAttribute(const QualifiedName& name, const Atom
icString& value) |
| 39 { | 45 { |
| 40 parseAttributeNew(name, value); | 46 parseAttributeNew(name, value); |
| 41 } | 47 } |
| 42 | 48 |
| 43 void SVGFEMergeNodeElement::svgAttributeChanged(const QualifiedName& attrName) | 49 void SVGFEMergeNodeElement::svgAttributeChanged(const QualifiedName& attrName) |
| 44 { | 50 { |
| 45 if (attrName == SVGNames::inAttr) { | 51 if (attrName == SVGNames::inAttr) { |
| 46 SVGElement::InvalidationGuard invalidationGuard(this); | 52 SVGElement::InvalidationGuard invalidationGuard(this); |
| 47 invalidateFilterPrimitiveParent(this); | 53 invalidateFilterPrimitiveParent(this); |
| 48 return; | 54 return; |
| 49 } | 55 } |
| 50 | 56 |
| 51 SVGElement::svgAttributeChanged(attrName); | 57 SVGElement::svgAttributeChanged(attrName); |
| 52 } | 58 } |
| 53 | 59 |
| 54 } | 60 } |
| OLD | NEW |