| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 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) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 addToPropertyMap(m_filterUnits); | 56 addToPropertyMap(m_filterUnits); |
| 57 addToPropertyMap(m_primitiveUnits); | 57 addToPropertyMap(m_primitiveUnits); |
| 58 addToPropertyMap(m_filterRes); | 58 addToPropertyMap(m_filterRes); |
| 59 } | 59 } |
| 60 | 60 |
| 61 DEFINE_NODE_FACTORY(SVGFilterElement) | 61 DEFINE_NODE_FACTORY(SVGFilterElement) |
| 62 | 62 |
| 63 void SVGFilterElement::trace(Visitor* visitor) | 63 void SVGFilterElement::trace(Visitor* visitor) |
| 64 { | 64 { |
| 65 #if ENABLE(OILPAN) | 65 #if ENABLE(OILPAN) |
| 66 visitor->trace(m_x); |
| 67 visitor->trace(m_y); |
| 68 visitor->trace(m_width); |
| 69 visitor->trace(m_height); |
| 70 visitor->trace(m_filterUnits); |
| 71 visitor->trace(m_primitiveUnits); |
| 72 visitor->trace(m_filterRes); |
| 66 visitor->trace(m_clientsToAdd); | 73 visitor->trace(m_clientsToAdd); |
| 67 #endif | 74 #endif |
| 68 SVGElement::trace(visitor); | 75 SVGElement::trace(visitor); |
| 76 SVGURIReference::trace(visitor); |
| 69 } | 77 } |
| 70 | 78 |
| 71 void SVGFilterElement::setFilterRes(unsigned x, unsigned y) | 79 void SVGFilterElement::setFilterRes(unsigned x, unsigned y) |
| 72 { | 80 { |
| 73 filterResX()->baseValue()->setValue(x); | 81 filterResX()->baseValue()->setValue(x); |
| 74 filterResY()->baseValue()->setValue(y); | 82 filterResY()->baseValue()->setValue(y); |
| 75 | 83 |
| 76 invalidateSVGAttributes(); | 84 invalidateSVGAttributes(); |
| 77 svgAttributeChanged(SVGNames::filterResAttr); | 85 svgAttributeChanged(SVGNames::filterResAttr); |
| 78 } | 86 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 m_clientsToAdd.add(client); | 163 m_clientsToAdd.add(client); |
| 156 } | 164 } |
| 157 | 165 |
| 158 void SVGFilterElement::removeClient(Node* client) | 166 void SVGFilterElement::removeClient(Node* client) |
| 159 { | 167 { |
| 160 ASSERT(client); | 168 ASSERT(client); |
| 161 m_clientsToAdd.remove(client); | 169 m_clientsToAdd.remove(client); |
| 162 } | 170 } |
| 163 | 171 |
| 164 } // namespace blink | 172 } // namespace blink |
| OLD | NEW |