Index: third_party/WebKit/Source/core/svg/SVGPoint.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGPoint.h b/third_party/WebKit/Source/core/svg/SVGPoint.h |
index 58030a520e428e96b3ece53614a05516414c9cec..5393a9093441eb1d94f9d92fecd258cde5d1ae35 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPoint.h |
+++ b/third_party/WebKit/Source/core/svg/SVGPoint.h |
@@ -84,12 +84,7 @@ private: |
FloatPoint m_value; |
}; |
-inline PassRefPtrWillBeRawPtr<SVGPoint> toSVGPoint(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGPoint::classType()); |
- return static_pointer_cast<SVGPoint>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGPoint); |
} // namespace blink |