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