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

Unified Diff: Source/core/layout/style/SVGLayoutStyleDefs.cpp

Issue 962763003: Use Length for the stroke-dashoffset property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make font-size explicit. Created 5 years, 10 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
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyleDefs.h ('k') | Source/core/layout/style/SVGLayoutStyleTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/SVGLayoutStyleDefs.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.cpp b/Source/core/layout/style/SVGLayoutStyleDefs.cpp
index 7ebb06c64597c57a5d15ef6ceea37765697fd0a9..2419eef65fff757987b12724d9c94296b672bc18 100644
--- a/Source/core/layout/style/SVGLayoutStyleDefs.cpp
+++ b/Source/core/layout/style/SVGLayoutStyleDefs.cpp
@@ -86,7 +86,7 @@ StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
, opacity(other.opacity)
, miterLimit(other.miterLimit)
, width(other.width->clone())
- , dashOffset(other.dashOffset->clone())
+ , dashOffset(other.dashOffset)
, dashArray(other.dashArray->clone())
, paintType(other.paintType)
, paintColor(other.paintColor)
@@ -102,7 +102,7 @@ bool StyleStrokeData::operator==(const StyleStrokeData& other) const
return *width == *other.width
&& opacity == other.opacity
&& miterLimit == other.miterLimit
- && *dashOffset == *other.dashOffset
+ && dashOffset == other.dashOffset
&& *dashArray == *other.dashArray
&& paintType == other.paintType
&& paintColor == other.paintColor
« no previous file with comments | « Source/core/layout/style/SVGLayoutStyleDefs.h ('k') | Source/core/layout/style/SVGLayoutStyleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698