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