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

Unified Diff: Source/core/rendering/style/SVGRenderStyleDefs.h

Issue 112003003: [SVG] SVGLength{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert aggressive svgAttributeChanged, add NeedsRebaseline Created 6 years, 11 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/rendering/style/SVGRenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyleDefs.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/SVGRenderStyleDefs.h
diff --git a/Source/core/rendering/style/SVGRenderStyleDefs.h b/Source/core/rendering/style/SVGRenderStyleDefs.h
index 9459cae177d8dbd23af2fbf1c791bfe3f4690fdb..e25a8b2f7cfbe41cfe811be73d6afd320b5b5b2c 100644
--- a/Source/core/rendering/style/SVGRenderStyleDefs.h
+++ b/Source/core/rendering/style/SVGRenderStyleDefs.h
@@ -29,6 +29,7 @@
#define SVGRenderStyleDefs_h
#include "core/svg/SVGLength.h"
+#include "core/svg/SVGLengthList.h"
#include "core/svg/SVGPaint.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -146,9 +147,9 @@ namespace WebCore {
float opacity;
float miterLimit;
- SVGLength width;
- SVGLength dashOffset;
- Vector<SVGLength> dashArray;
+ RefPtr<SVGLength> width;
+ RefPtr<SVGLength> dashOffset;
+ RefPtr<SVGLengthList> dashArray;
SVGPaint::SVGPaintType paintType;
Color paintColor;
@@ -192,7 +193,7 @@ namespace WebCore {
return !(*this == other);
}
- SVGLength kerning;
+ RefPtr<SVGLength> kerning;
private:
StyleTextData();
@@ -216,7 +217,7 @@ namespace WebCore {
Color lightingColor;
// non-inherited text stuff lives here not in StyleTextData.
- SVGLength baselineShiftValue;
+ RefPtr<SVGLength> baselineShiftValue;
private:
StyleMiscData();
« no previous file with comments | « Source/core/rendering/style/SVGRenderStyle.h ('k') | Source/core/rendering/style/SVGRenderStyleDefs.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698