| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 if (attrName == SVGNames::inAttr || attrName == SVGNames::dxAttr | 52 if (attrName == SVGNames::inAttr || attrName == SVGNames::dxAttr |
| 53 || attrName == SVGNames::dyAttr) { | 53 || attrName == SVGNames::dyAttr) { |
| 54 SVGElement::InvalidationGuard invalidationGuard(this); | 54 SVGElement::InvalidationGuard invalidationGuard(this); |
| 55 invalidate(); | 55 invalidate(); |
| 56 return; | 56 return; |
| 57 } | 57 } |
| 58 | 58 |
| 59 SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); | 59 SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName); |
| 60 } | 60 } |
| 61 | 61 |
| 62 PassRefPtrWillBeRawPtr<FilterEffect> SVGFEOffsetElement::build(SVGFilterBuilder*
filterBuilder, Filter* filter) | 62 RawPtr<FilterEffect> SVGFEOffsetElement::build(SVGFilterBuilder* filterBuilder,
Filter* filter) |
| 63 { | 63 { |
| 64 FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->curr
entValue()->value())); | 64 FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->curr
entValue()->value())); |
| 65 ASSERT(input1); | 65 ASSERT(input1); |
| 66 | 66 |
| 67 RefPtrWillBeRawPtr<FilterEffect> effect = FEOffset::create(filter, m_dx->cur
rentValue()->value(), m_dy->currentValue()->value()); | 67 RawPtr<FilterEffect> effect = FEOffset::create(filter, m_dx->currentValue()-
>value(), m_dy->currentValue()->value()); |
| 68 effect->inputEffects().append(input1); | 68 effect->inputEffects().append(input1); |
| 69 return effect.release(); | 69 return effect.release(); |
| 70 } | 70 } |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| OLD | NEW |