Index: Source/core/svg/SVGFilterPrimitiveStandardAttributes.h |
diff --git a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h |
index 4c35bd1201e7b5e132c8fe3af625f7295401d1c2..70c8f634e2031fbe433f683f456f0a4e85bedeb6 100644 |
--- a/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h |
+++ b/Source/core/svg/SVGFilterPrimitiveStandardAttributes.h |
@@ -43,11 +43,18 @@ public: |
// Returns true, if the new value is different from the old one. |
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&); |
+ // SVGFilterPrimitiveStandardAttributes JS API. |
+ static SVGAnimatedLength* x(SVGFilterPrimitiveStandardAttributes* object) { return object->x(); } |
+ static SVGAnimatedLength* y(SVGFilterPrimitiveStandardAttributes* object) { return object->y(); } |
+ static SVGAnimatedLength* width(SVGFilterPrimitiveStandardAttributes* object) { return object->width(); } |
+ static SVGAnimatedLength* height(SVGFilterPrimitiveStandardAttributes* object) { return object->height(); } |
+ static SVGAnimatedString* result(SVGFilterPrimitiveStandardAttributes* object) { return object->result(); } |
+ |
SVGAnimatedLength* x() const { return m_x.get(); } |
SVGAnimatedLength* y() const { return m_y.get(); } |
SVGAnimatedLength* width() const { return m_width.get(); } |
SVGAnimatedLength* height() const { return m_height.get(); } |
- SVGAnimatedString* result() { return m_result.get(); } |
+ SVGAnimatedString* result() const { return m_result.get(); } |
protected: |
SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&); |