Index: Source/core/layout/style/SVGLayoutStyleDefs.cpp |
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.cpp b/Source/core/layout/style/SVGLayoutStyleDefs.cpp |
index 8a0bfc441b94bdacef65b62b3fdfd6cc364d2771..f680c446dd0ec694ab22ebb58fd0d14f290717a6 100644 |
--- a/Source/core/layout/style/SVGLayoutStyleDefs.cpp |
+++ b/Source/core/layout/style/SVGLayoutStyleDefs.cpp |
@@ -144,7 +144,7 @@ StyleMiscData::StyleMiscData(const StyleMiscData& other) |
, floodColor(other.floodColor) |
, floodOpacity(other.floodOpacity) |
, lightingColor(other.lightingColor) |
- , baselineShiftValue(other.baselineShiftValue->clone()) |
+ , baselineShiftValue(other.baselineShiftValue) |
{ |
} |
@@ -153,7 +153,7 @@ bool StyleMiscData::operator==(const StyleMiscData& other) const |
return floodOpacity == other.floodOpacity |
&& floodColor == other.floodColor |
&& lightingColor == other.lightingColor |
- && *baselineShiftValue == *other.baselineShiftValue; |
+ && baselineShiftValue == other.baselineShiftValue; |
} |
StyleResourceData::StyleResourceData() |