Index: third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthList.cpp b/third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
index 1fadc5eb0daf1e93703d6ac7abf0e9bcbd858d47..46c57c9188b0edc8243e6b2b4f860bcd9198bfdc 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGLengthList.cpp |
@@ -28,12 +28,7 @@ |
namespace blink { |
-inline PassRefPtrWillBeRawPtr<SVGLengthList> toSVGLengthList(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGLengthList::classType()); |
- return static_pointer_cast<SVGLengthList>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGLengthList); |
SVGLengthList::SVGLengthList(SVGLengthMode mode) |
: m_mode(mode) |