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

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

Issue 1545713003: Add StylePath and use it to store 'd' in ComputedStyle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2015->2016; Remove unnecessary explicit. Created 4 years, 11 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 194
195 bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot her) const 195 bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& ot her) const
196 { 196 {
197 return markerStart == other.markerStart 197 return markerStart == other.markerStart
198 && markerMid == other.markerMid 198 && markerMid == other.markerMid
199 && markerEnd == other.markerEnd; 199 && markerEnd == other.markerEnd;
200 } 200 }
201 201
202 StyleLayoutData::StyleLayoutData() 202 StyleLayoutData::StyleLayoutData()
203 : d(CSSPathValue::emptyPathValue()) 203 : d(SVGComputedStyle::initialD())
204 , cx(SVGComputedStyle::initialCx()) 204 , cx(SVGComputedStyle::initialCx())
205 , cy(SVGComputedStyle::initialCy()) 205 , cy(SVGComputedStyle::initialCy())
206 , x(SVGComputedStyle::initialX()) 206 , x(SVGComputedStyle::initialX())
207 , y(SVGComputedStyle::initialY()) 207 , y(SVGComputedStyle::initialY())
208 , r(SVGComputedStyle::initialR()) 208 , r(SVGComputedStyle::initialR())
209 , rx(SVGComputedStyle::initialRx()) 209 , rx(SVGComputedStyle::initialRx())
210 , ry(SVGComputedStyle::initialRy()) 210 , ry(SVGComputedStyle::initialRy())
211 { 211 {
212 } 212 }
213 213
(...skipping 21 matching lines...) Expand all
235 && y == other.y 235 && y == other.y
236 && r == other.r 236 && r == other.r
237 && rx == other.rx 237 && rx == other.rx
238 && ry == other.ry 238 && ry == other.ry
239 && cx == other.cx 239 && cx == other.cx
240 && cy == other.cy 240 && cy == other.cy
241 && d->equals(*other.d); 241 && d->equals(*other.d);
242 } 242 }
243 243
244 } 244 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/SVGComputedStyleDefs.h ('k') | third_party/WebKit/Source/core/style/StylePath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698