| 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 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 5 | 5 |
| 6 Based on khtml code by: | 6 Based on khtml code by: |
| 7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 7 Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) | 8 Copyright (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 9 Copyright (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
| 10 Copyright (C) 2002 Apple Computer, Inc. | 10 Copyright (C) 2002 Apple Computer, Inc. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot
her) const | 196 bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot
her) const |
| 197 { | 197 { |
| 198 return markerStart == other.markerStart | 198 return markerStart == other.markerStart |
| 199 && markerMid == other.markerMid | 199 && markerMid == other.markerMid |
| 200 && markerEnd == other.markerEnd; | 200 && markerEnd == other.markerEnd; |
| 201 } | 201 } |
| 202 | 202 |
| 203 StyleLayoutData::StyleLayoutData() | 203 StyleLayoutData::StyleLayoutData() |
| 204 : x(SVGLayoutStyle::initialX()) | 204 : x(SVGLayoutStyle::initialX()) |
| 205 , y(SVGLayoutStyle::initialY()) | 205 , y(SVGLayoutStyle::initialY()) |
| 206 , rx(SVGLayoutStyle::initialRx()) |
| 207 , ry(SVGLayoutStyle::initialRy()) |
| 206 { | 208 { |
| 207 } | 209 } |
| 208 | 210 |
| 209 inline StyleLayoutData::StyleLayoutData(const StyleLayoutData& other) | 211 inline StyleLayoutData::StyleLayoutData(const StyleLayoutData& other) |
| 210 : RefCounted<StyleLayoutData>() | 212 : RefCounted<StyleLayoutData>() |
| 211 , x(other.x) | 213 , x(other.x) |
| 212 , y(other.y) | 214 , y(other.y) |
| 215 , rx(other.rx) |
| 216 , ry(other.ry) |
| 213 { | 217 { |
| 214 } | 218 } |
| 215 | 219 |
| 216 PassRefPtr<StyleLayoutData> StyleLayoutData::copy() const | 220 PassRefPtr<StyleLayoutData> StyleLayoutData::copy() const |
| 217 { | 221 { |
| 218 return adoptRef(new StyleLayoutData(*this)); | 222 return adoptRef(new StyleLayoutData(*this)); |
| 219 } | 223 } |
| 220 | 224 |
| 221 bool StyleLayoutData::operator==(const StyleLayoutData& other) const | 225 bool StyleLayoutData::operator==(const StyleLayoutData& other) const |
| 222 { | 226 { |
| 223 return x == other.x | 227 return x == other.x |
| 224 && y == other.y; | 228 && y == other.y |
| 229 && rx == other.rx |
| 230 && ry == other.ry; |
| 225 } | 231 } |
| 226 | 232 |
| 227 } | 233 } |
| OLD | NEW |