Index: third_party/WebKit/Source/core/style/SVGComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/SVGComputedStyle.h b/third_party/WebKit/Source/core/style/SVGComputedStyle.h |
index f8925f1c3a6dd041bab6ccb4265330117ddca37f..e6e8436fd0ba2126a4317225f5fc73e115ae2ebf 100644 |
--- a/third_party/WebKit/Source/core/style/SVGComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/SVGComputedStyle.h |
@@ -90,6 +90,7 @@ public: |
static const AtomicString& initialMarkerEndResource() { return nullAtom; } |
static EMaskType initialMaskType() { return MT_LUMINANCE; } |
static EPaintOrder initialPaintOrder() { return PaintOrderNormal; } |
+ static CSSPathValue* initialD() { return CSSPathValue::emptyPathValue(); } |
static Length initialCx() { return Length(Fixed); } |
static Length initialCy() { return Length(Fixed); } |
static Length initialX() { return Length(Fixed); } |
@@ -115,6 +116,11 @@ public: |
void setTextAnchor(ETextAnchor val) { svg_inherited_flags.textAnchor = val; } |
void setMaskType(EMaskType val) { svg_noninherited_flags.f.maskType = val; } |
void setPaintOrder(EPaintOrder val) { svg_inherited_flags.paintOrder = (int)val; } |
+ void setD(PassRefPtrWillBeRawPtr<CSSPathValue> d) |
+ { |
+ if (!(layout->d == d)) |
+ layout.access()->d = d; |
+ } |
void setCx(const Length& obj) |
{ |
if (!(layout->cx == obj)) |
@@ -333,6 +339,7 @@ public: |
const Color& floodColor() const { return misc->floodColor; } |
const Color& lightingColor() const { return misc->lightingColor; } |
const Length& baselineShiftValue() const { return misc->baselineShiftValue; } |
+ CSSPathValue* d() const { return layout->d.get(); } |
const Length& cx() const { return layout->cx; } |
const Length& cy() const { return layout->cy; } |
const Length& x() const { return layout->x; } |