Index: Source/core/layout/style/SVGLayoutStyleDefs.cpp |
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.cpp b/Source/core/layout/style/SVGLayoutStyleDefs.cpp |
index 44b837e4dc46bfc15582e3dea34db3da9a9a238c..886507017cefdf972fcf86ba544d851437f43f36 100644 |
--- a/Source/core/layout/style/SVGLayoutStyleDefs.cpp |
+++ b/Source/core/layout/style/SVGLayoutStyleDefs.cpp |
@@ -85,7 +85,7 @@ StyleStrokeData::StyleStrokeData(const StyleStrokeData& other) |
: RefCounted<StyleStrokeData>() |
, opacity(other.opacity) |
, miterLimit(other.miterLimit) |
- , width(other.width->clone()) |
+ , width(other.width) |
, dashOffset(other.dashOffset) |
, dashArray(other.dashArray) |
, paintType(other.paintType) |
@@ -99,7 +99,7 @@ StyleStrokeData::StyleStrokeData(const StyleStrokeData& other) |
bool StyleStrokeData::operator==(const StyleStrokeData& other) const |
{ |
- return *width == *other.width |
+ return width == other.width |
&& opacity == other.opacity |
&& miterLimit == other.miterLimit |
&& dashOffset == other.dashOffset |