Index: third_party/WebKit/Source/core/svg/SVGLength.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h |
index 088acd07cdab2f80885d992fe1e9402add7ae9d0..4662cbb5cec42159954584980ba9ebf15b3136bf 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLength.h |
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h |
@@ -123,12 +123,7 @@ private: |
unsigned m_unitType : 4; |
}; |
-inline PassRefPtrWillBeRawPtr<SVGLength> toSVGLength(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGLength::classType()); |
- return static_pointer_cast<SVGLength>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGLength); |
} // namespace blink |