| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 , lightingColor(SVGLayoutStyle::initialLightingColor()) | 137 , lightingColor(SVGLayoutStyle::initialLightingColor()) |
| 138 , baselineShiftValue(SVGLayoutStyle::initialBaselineShiftValue()) | 138 , baselineShiftValue(SVGLayoutStyle::initialBaselineShiftValue()) |
| 139 { | 139 { |
| 140 } | 140 } |
| 141 | 141 |
| 142 StyleMiscData::StyleMiscData(const StyleMiscData& other) | 142 StyleMiscData::StyleMiscData(const StyleMiscData& other) |
| 143 : RefCounted<StyleMiscData>() | 143 : RefCounted<StyleMiscData>() |
| 144 , floodColor(other.floodColor) | 144 , floodColor(other.floodColor) |
| 145 , floodOpacity(other.floodOpacity) | 145 , floodOpacity(other.floodOpacity) |
| 146 , lightingColor(other.lightingColor) | 146 , lightingColor(other.lightingColor) |
| 147 , baselineShiftValue(other.baselineShiftValue->clone()) | 147 , baselineShiftValue(other.baselineShiftValue) |
| 148 { | 148 { |
| 149 } | 149 } |
| 150 | 150 |
| 151 bool StyleMiscData::operator==(const StyleMiscData& other) const | 151 bool StyleMiscData::operator==(const StyleMiscData& other) const |
| 152 { | 152 { |
| 153 return floodOpacity == other.floodOpacity | 153 return floodOpacity == other.floodOpacity |
| 154 && floodColor == other.floodColor | 154 && floodColor == other.floodColor |
| 155 && lightingColor == other.lightingColor | 155 && lightingColor == other.lightingColor |
| 156 && *baselineShiftValue == *other.baselineShiftValue; | 156 && baselineShiftValue == other.baselineShiftValue; |
| 157 } | 157 } |
| 158 | 158 |
| 159 StyleResourceData::StyleResourceData() | 159 StyleResourceData::StyleResourceData() |
| 160 : clipper(SVGLayoutStyle::initialClipperResource()) | 160 : clipper(SVGLayoutStyle::initialClipperResource()) |
| 161 , filter(SVGLayoutStyle::initialFilterResource()) | 161 , filter(SVGLayoutStyle::initialFilterResource()) |
| 162 , masker(SVGLayoutStyle::initialMaskerResource()) | 162 , masker(SVGLayoutStyle::initialMaskerResource()) |
| 163 { | 163 { |
| 164 } | 164 } |
| 165 | 165 |
| 166 StyleResourceData::StyleResourceData(const StyleResourceData& other) | 166 StyleResourceData::StyleResourceData(const StyleResourceData& other) |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 return adoptRef(new StyleLayoutData(*this)); | 218 return adoptRef(new StyleLayoutData(*this)); |
| 219 } | 219 } |
| 220 | 220 |
| 221 bool StyleLayoutData::operator==(const StyleLayoutData& other) const | 221 bool StyleLayoutData::operator==(const StyleLayoutData& other) const |
| 222 { | 222 { |
| 223 return x == other.x | 223 return x == other.x |
| 224 && y == other.y; | 224 && y == other.y; |
| 225 } | 225 } |
| 226 | 226 |
| 227 } | 227 } |
| OLD | NEW |