Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(506)

Side by Side Diff: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Baselines Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(SVGComputedStyle::initialClipperResource()) 160 : masker(SVGComputedStyle::initialMaskerResource())
161 , masker(SVGComputedStyle::initialMaskerResource())
162 { 161 {
163 } 162 }
164 163
165 StyleResourceData::StyleResourceData(const StyleResourceData& other) 164 StyleResourceData::StyleResourceData(const StyleResourceData& other)
166 : RefCounted<StyleResourceData>() 165 : RefCounted<StyleResourceData>()
167 , clipper(other.clipper)
168 , masker(other.masker) 166 , masker(other.masker)
169 { 167 {
170 } 168 }
171 169
172 bool StyleResourceData::operator==(const StyleResourceData& other) const 170 bool StyleResourceData::operator==(const StyleResourceData& other) const
173 { 171 {
174 return clipper == other.clipper 172 return masker == other.masker;
175 && masker == other.masker;
176 } 173 }
177 174
178 StyleInheritedResourceData::StyleInheritedResourceData() 175 StyleInheritedResourceData::StyleInheritedResourceData()
179 : markerStart(SVGComputedStyle::initialMarkerStartResource()) 176 : markerStart(SVGComputedStyle::initialMarkerStartResource())
180 , markerMid(SVGComputedStyle::initialMarkerMidResource()) 177 , markerMid(SVGComputedStyle::initialMarkerMidResource())
181 , markerEnd(SVGComputedStyle::initialMarkerEndResource()) 178 , markerEnd(SVGComputedStyle::initialMarkerEndResource())
182 { 179 {
183 } 180 }
184 181
185 StyleInheritedResourceData::StyleInheritedResourceData(const StyleInheritedResou rceData& other) 182 StyleInheritedResourceData::StyleInheritedResourceData(const StyleInheritedResou rceData& other)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 && y == other.y 230 && y == other.y
234 && r == other.r 231 && r == other.r
235 && rx == other.rx 232 && rx == other.rx
236 && ry == other.ry 233 && ry == other.ry
237 && cx == other.cx 234 && cx == other.cx
238 && cy == other.cy 235 && cy == other.cy
239 && dataEquivalent(d, other.d); 236 && dataEquivalent(d, other.d);
240 } 237 }
241 238
242 } // namespace blink 239 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698