diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/svg/svg_point_tear_off.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/svg/svg_point_tear_off.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/core/svg/svg_point_tear_off.h b/chromium/third_party/blink/renderer/core/svg/svg_point_tear_off.h index 2caab949654..dcc63e148ff 100644 --- a/chromium/third_party/blink/renderer/core/svg/svg_point_tear_off.h +++ b/chromium/third_party/blink/renderer/core/svg/svg_point_tear_off.h @@ -45,26 +45,26 @@ class SVGPointTearOff : public SVGPropertyTearOff<SVGPoint> { static SVGPointTearOff* Create(SVGPoint* target, SVGAnimatedPropertyBase* binding, PropertyIsAnimValType property_is_anim_val) { - return new SVGPointTearOff(target, binding, property_is_anim_val); + return MakeGarbageCollected<SVGPointTearOff>(target, binding, + property_is_anim_val); } static SVGPointTearOff* Create(SVGPoint* target, SVGElement* context_element) { - return new SVGPointTearOff(target, context_element); + return MakeGarbageCollected<SVGPointTearOff>(target, context_element); } static SVGPointTearOff* CreateDetached(const FloatPoint&); + SVGPointTearOff(SVGPoint*, + SVGAnimatedPropertyBase* binding, + PropertyIsAnimValType); + SVGPointTearOff(SVGPoint*, SVGElement*); + void setX(float, ExceptionState&); void setY(float, ExceptionState&); float x() { return Target()->X(); } float y() { return Target()->Y(); } SVGPointTearOff* matrixTransform(SVGMatrixTearOff*); - - protected: - SVGPointTearOff(SVGPoint*, - SVGAnimatedPropertyBase* binding, - PropertyIsAnimValType); - SVGPointTearOff(SVGPoint*, SVGElement*); }; } // namespace blink |