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

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

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.h
diff --git a/Source/core/layout/style/SVGLayoutStyleDefs.h b/Source/core/layout/style/SVGLayoutStyleDefs.h
index 6431379896a8ec82ef503be9e19b7a04537c059c..3bd1bcbf2aa792cd059e9261cefea8765dbb82ca 100644
--- a/Source/core/layout/style/SVGLayoutStyleDefs.h
+++ b/Source/core/layout/style/SVGLayoutStyleDefs.h
@@ -29,15 +29,19 @@
#define SVGLayoutStyleDefs_h
#include "core/svg/SVGLength.h"
-#include "core/svg/SVGLengthList.h"
#include "platform/Length.h"
+#include "platform/graphics/Color.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
+#include "wtf/RefVector.h"
+#include "wtf/text/WTFString.h"
namespace blink {
+typedef RefVector<Length> SVGDashArray;
+
enum SVGPaintType {
SVG_PAINTTYPE_RGBCOLOR,
SVG_PAINTTYPE_NONE,
@@ -162,7 +166,7 @@ public:
RefPtrWillBePersistent<SVGLength> width;
Length dashOffset;
- RefPtrWillBePersistent<SVGLengthList> dashArray;
+ RefPtr<SVGDashArray> dashArray;
SVGPaintType paintType;
Color paintColor;

Powered by Google App Engine
This is Rietveld 408576698