Index: third_party/WebKit/Source/core/svg/SVGInteger.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGInteger.h b/third_party/WebKit/Source/core/svg/SVGInteger.h |
index cc0141be05b275d4178eef84ac54972c92c7bf90..ae20a3d4ec7501faccd6c6df05e3afb647b60196 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGInteger.h |
+++ b/third_party/WebKit/Source/core/svg/SVGInteger.h |
@@ -67,12 +67,7 @@ protected: |
int m_value; |
}; |
-inline PassRefPtrWillBeRawPtr<SVGInteger> toSVGInteger(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGInteger::classType()); |
- return static_pointer_cast<SVGInteger>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGInteger); |
} // namespace blink |