| Index: third_party/WebKit/Source/core/svg/SVGNumber.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGNumber.h b/third_party/WebKit/Source/core/svg/SVGNumber.h
|
| index 19bbf8d993a08091eeb805190290cefbe1d7aab8..4cd1132f2cc3b7cd90c380a2dcc799e9ec68c08b 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGNumber.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGNumber.h
|
| @@ -72,12 +72,7 @@ protected:
|
| float m_value;
|
| };
|
|
|
| -inline PassRefPtrWillBeRawPtr<SVGNumber> toSVGNumber(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase)
|
| -{
|
| - RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase;
|
| - ASSERT(base->type() == SVGNumber::classType());
|
| - return static_pointer_cast<SVGNumber>(base.release());
|
| -}
|
| +DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGNumber);
|
|
|
| // SVGNumber which also accepts percentage as its value.
|
| // This is used for <stop> "offset"
|
|
|