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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(SVGComputedStyle::initialClipperResource()) | 160 : clipper(SVGComputedStyle::initialClipperResource()) |
161 , filter(SVGComputedStyle::initialFilterResource()) | |
162 , masker(SVGComputedStyle::initialMaskerResource()) | 161 , masker(SVGComputedStyle::initialMaskerResource()) |
163 { | 162 { |
164 } | 163 } |
165 | 164 |
166 StyleResourceData::StyleResourceData(const StyleResourceData& other) | 165 StyleResourceData::StyleResourceData(const StyleResourceData& other) |
167 : RefCounted<StyleResourceData>() | 166 : RefCounted<StyleResourceData>() |
168 , clipper(other.clipper) | 167 , clipper(other.clipper) |
169 , filter(other.filter) | |
170 , masker(other.masker) | 168 , masker(other.masker) |
171 { | 169 { |
172 } | 170 } |
173 | 171 |
174 bool StyleResourceData::operator==(const StyleResourceData& other) const | 172 bool StyleResourceData::operator==(const StyleResourceData& other) const |
175 { | 173 { |
176 return clipper == other.clipper | 174 return clipper == other.clipper |
177 && filter == other.filter | |
178 && masker == other.masker; | 175 && masker == other.masker; |
179 } | 176 } |
180 | 177 |
181 StyleInheritedResourceData::StyleInheritedResourceData() | 178 StyleInheritedResourceData::StyleInheritedResourceData() |
182 : markerStart(SVGComputedStyle::initialMarkerStartResource()) | 179 : markerStart(SVGComputedStyle::initialMarkerStartResource()) |
183 , markerMid(SVGComputedStyle::initialMarkerMidResource()) | 180 , markerMid(SVGComputedStyle::initialMarkerMidResource()) |
184 , markerEnd(SVGComputedStyle::initialMarkerEndResource()) | 181 , markerEnd(SVGComputedStyle::initialMarkerEndResource()) |
185 { | 182 { |
186 } | 183 } |
187 | 184 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 && y == other.y | 233 && y == other.y |
237 && r == other.r | 234 && r == other.r |
238 && rx == other.rx | 235 && rx == other.rx |
239 && ry == other.ry | 236 && ry == other.ry |
240 && cx == other.cx | 237 && cx == other.cx |
241 && cy == other.cy | 238 && cy == other.cy |
242 && dataEquivalent(d, other.d); | 239 && dataEquivalent(d, other.d); |
243 } | 240 } |
244 | 241 |
245 } // namespace blink | 242 } // namespace blink |
OLD | NEW |