Index: third_party/WebKit/Source/core/svg/SVGRect.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGRect.h b/third_party/WebKit/Source/core/svg/SVGRect.h |
index d2cf1f7d4a8dbcb1f12f5a98f97070fda84a92e5..88d9c7743a16a209ab23b0e32aaa3e77a84ddaa8 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGRect.h |
+++ b/third_party/WebKit/Source/core/svg/SVGRect.h |
@@ -86,12 +86,7 @@ private: |
FloatRect m_value; |
}; |
-inline PassRefPtrWillBeRawPtr<SVGRect> toSVGRect(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGRect::classType()); |
- return static_pointer_cast<SVGRect>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGRect); |
} // namespace blink |