| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 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 19 matching lines...) Expand all Loading... |
| 30 UseCounter::count(document, UseCounter::SVGViewElement); | 30 UseCounter::count(document, UseCounter::SVGViewElement); |
| 31 } | 31 } |
| 32 | 32 |
| 33 DEFINE_NODE_FACTORY(SVGViewElement) | 33 DEFINE_NODE_FACTORY(SVGViewElement) |
| 34 | 34 |
| 35 DEFINE_TRACE(SVGViewElement) { | 35 DEFINE_TRACE(SVGViewElement) { |
| 36 SVGElement::trace(visitor); | 36 SVGElement::trace(visitor); |
| 37 SVGFitToViewBox::trace(visitor); | 37 SVGFitToViewBox::trace(visitor); |
| 38 } | 38 } |
| 39 | 39 |
| 40 void SVGViewElement::parseAttribute(const QualifiedName& name, | 40 void SVGViewElement::parseAttribute(const AttributeModificationParams& params) { |
| 41 const AtomicString& oldValue, | 41 if (SVGZoomAndPan::parseAttribute(params.name, params.newValue)) |
| 42 const AtomicString& value) { | |
| 43 if (SVGZoomAndPan::parseAttribute(name, value)) | |
| 44 return; | 42 return; |
| 45 | 43 |
| 46 SVGElement::parseAttribute(name, oldValue, value); | 44 SVGElement::parseAttribute(params); |
| 47 } | 45 } |
| 48 | 46 |
| 49 } // namespace blink | 47 } // namespace blink |
| OLD | NEW |