| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 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 25 matching lines...) Expand all Loading... |
| 36 DEFINE_TRACE(SVGPolyElement) | 36 DEFINE_TRACE(SVGPolyElement) |
| 37 { | 37 { |
| 38 visitor->trace(m_points); | 38 visitor->trace(m_points); |
| 39 SVGGeometryElement::trace(visitor); | 39 SVGGeometryElement::trace(visitor); |
| 40 } | 40 } |
| 41 | 41 |
| 42 Path SVGPolyElement::asPathFromPoints() const | 42 Path SVGPolyElement::asPathFromPoints() const |
| 43 { | 43 { |
| 44 Path path; | 44 Path path; |
| 45 | 45 |
| 46 RefPtrWillBeRawPtr<SVGPointList> pointsValue = points()->currentValue(); | 46 RawPtr<SVGPointList> pointsValue = points()->currentValue(); |
| 47 if (pointsValue->isEmpty()) | 47 if (pointsValue->isEmpty()) |
| 48 return path; | 48 return path; |
| 49 | 49 |
| 50 SVGPointList::ConstIterator it = pointsValue->begin(); | 50 SVGPointList::ConstIterator it = pointsValue->begin(); |
| 51 SVGPointList::ConstIterator itEnd = pointsValue->end(); | 51 SVGPointList::ConstIterator itEnd = pointsValue->end(); |
| 52 ASSERT(it != itEnd); | 52 ASSERT(it != itEnd); |
| 53 path.moveTo(it->value()); | 53 path.moveTo(it->value()); |
| 54 ++it; | 54 ++it; |
| 55 | 55 |
| 56 for (; it != itEnd; ++it) | 56 for (; it != itEnd; ++it) |
| (...skipping 13 matching lines...) Expand all Loading... |
| 70 | 70 |
| 71 layoutObject->setNeedsShapeUpdate(); | 71 layoutObject->setNeedsShapeUpdate(); |
| 72 markForLayoutAndParentResourceInvalidation(layoutObject); | 72 markForLayoutAndParentResourceInvalidation(layoutObject); |
| 73 return; | 73 return; |
| 74 } | 74 } |
| 75 | 75 |
| 76 SVGGeometryElement::svgAttributeChanged(attrName); | 76 SVGGeometryElement::svgAttributeChanged(attrName); |
| 77 } | 77 } |
| 78 | 78 |
| 79 } // namespace blink | 79 } // namespace blink |
| OLD | NEW |