| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann |
| 3 * <zimmermann@kde.org> | 3 * <zimmermann@kde.org> |
| 4 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 break; | 208 break; |
| 209 | 209 |
| 210 current = toSVGPatternElement(ref_node); | 210 current = toSVGPatternElement(ref_node); |
| 211 | 211 |
| 212 // Cycle detection | 212 // Cycle detection |
| 213 if (processed_patterns.Contains(current)) | 213 if (processed_patterns.Contains(current)) |
| 214 break; | 214 break; |
| 215 } | 215 } |
| 216 } | 216 } |
| 217 | 217 |
| 218 AffineTransform SVGPatternElement::LocalCoordinateSpaceTransform() const { | 218 AffineTransform SVGPatternElement::LocalCoordinateSpaceTransform( |
| 219 CTMScope) const { |
| 219 return CalculateTransform(SVGElement::kExcludeMotionTransform); | 220 return CalculateTransform(SVGElement::kExcludeMotionTransform); |
| 220 } | 221 } |
| 221 | 222 |
| 222 bool SVGPatternElement::SelfHasRelativeLengths() const { | 223 bool SVGPatternElement::SelfHasRelativeLengths() const { |
| 223 return x_->CurrentValue()->IsRelative() || y_->CurrentValue()->IsRelative() || | 224 return x_->CurrentValue()->IsRelative() || y_->CurrentValue()->IsRelative() || |
| 224 width_->CurrentValue()->IsRelative() || | 225 width_->CurrentValue()->IsRelative() || |
| 225 height_->CurrentValue()->IsRelative(); | 226 height_->CurrentValue()->IsRelative(); |
| 226 } | 227 } |
| 227 | 228 |
| 228 } // namespace blink | 229 } // namespace blink |
| OLD | NEW |