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

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

Issue 975733002: Use Length for the stroke-dasharray property in SVGLayoutStyle (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test for style-change responsive-ness. 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
Index: Source/core/layout/style/SVGLayoutStyleDefs.cpp
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.cpp b/Source/core/layout/style/SVGLayoutStyleDefs.cpp
index 2419eef65fff757987b12724d9c94296b672bc18..44b837e4dc46bfc15582e3dea34db3da9a9a238c 100644
--- a/Source/core/layout/style/SVGLayoutStyleDefs.cpp
+++ b/Source/core/layout/style/SVGLayoutStyleDefs.cpp
@@ -87,7 +87,7 @@ StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
, miterLimit(other.miterLimit)
, width(other.width->clone())
, dashOffset(other.dashOffset)
- , dashArray(other.dashArray->clone())
+ , dashArray(other.dashArray)
, paintType(other.paintType)
, paintColor(other.paintColor)
, paintUri(other.paintUri)

Powered by Google App Engine
This is Rietveld 408576698