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

Unified Diff: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp

Issue 2753013004: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text
Patch Set: Apply SVG styles paint-order, stroke-linejoin, and stroke-linecap on DOM text Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp b/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
index 5957d8f9d612fb652059fe9ee6548b7af6d0a673..fcaba1e5c2bfc765b81bae8a1e1b7a4ba4c7399a 100644
--- a/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyleDefs.cpp
@@ -62,7 +62,6 @@ bool StyleFillData::operator==(const StyleFillData& other) const {
StyleStrokeData::StyleStrokeData()
: opacity(SVGComputedStyle::initialStrokeOpacity()),
miterLimit(SVGComputedStyle::initialStrokeMiterLimit()),
- width(SVGComputedStyle::initialStrokeWidth()),
dashOffset(SVGComputedStyle::initialStrokeDashOffset()),
dashArray(SVGComputedStyle::initialStrokeDashArray()),
paintType(SVGComputedStyle::initialStrokePaintType()),
@@ -76,7 +75,6 @@ StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
: RefCounted<StyleStrokeData>(),
opacity(other.opacity),
miterLimit(other.miterLimit),
- width(other.width),
dashOffset(other.dashOffset),
dashArray(other.dashArray),
paintType(other.paintType),
@@ -87,10 +85,10 @@ StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
visitedLinkPaintUri(other.visitedLinkPaintUri) {}
bool StyleStrokeData::operator==(const StyleStrokeData& other) const {
- return width == other.width && opacity == other.opacity &&
- miterLimit == other.miterLimit && dashOffset == other.dashOffset &&
- *dashArray == *other.dashArray && paintType == other.paintType &&
- paintColor == other.paintColor && paintUri == other.paintUri &&
+ return opacity == other.opacity && miterLimit == other.miterLimit &&
+ dashOffset == other.dashOffset && *dashArray == *other.dashArray &&
+ paintType == other.paintType && paintColor == other.paintColor &&
+ paintUri == other.paintUri &&
visitedLinkPaintType == other.visitedLinkPaintType &&
visitedLinkPaintColor == other.visitedLinkPaintColor &&
visitedLinkPaintUri == other.visitedLinkPaintUri;

Powered by Google App Engine
This is Rietveld 408576698