| Index: third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
|
| index 9b31149f0d6c35ebb606eab2c5ab47d60b1f7204..7474aca485510ced4d5f20c8a16c89bba97babfb 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h
|
| @@ -97,12 +97,7 @@ private:
|
| SVGMeetOrSliceType m_meetOrSlice;
|
| };
|
|
|
| -inline PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> toSVGPreserveAspectRatio(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase)
|
| -{
|
| - RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase;
|
| - ASSERT(base->type() == SVGPreserveAspectRatio::classType());
|
| - return static_pointer_cast<SVGPreserveAspectRatio>(base.release());
|
| -}
|
| +DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGPreserveAspectRatio);
|
|
|
| } // namespace blink
|
|
|
|
|