| Index: third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
|
| index b62fb1f82e40bd0f0633dec40492232d4c32a94b..9fa17991fb5a6d69a97bb88300f7359cca80adf0 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
|
| @@ -59,8 +59,8 @@ public:
|
|
|
| static AnimatedPropertyType classType() { return AnimatedIntegerOptionalInteger; }
|
|
|
| - PassRefPtrWillBeRawPtr<SVGInteger> firstInteger() { return m_firstInteger; }
|
| - PassRefPtrWillBeRawPtr<SVGInteger> secondInteger() { return m_secondInteger; }
|
| + PassRefPtrWillBeRawPtr<SVGInteger> firstInteger() const { return m_firstInteger; }
|
| + PassRefPtrWillBeRawPtr<SVGInteger> secondInteger() const { return m_secondInteger; }
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -78,6 +78,13 @@ inline PassRefPtrWillBeRawPtr<SVGIntegerOptionalInteger> toSVGIntegerOptionalInt
|
| return static_pointer_cast<SVGIntegerOptionalInteger>(base.release());
|
| }
|
|
|
| +inline const SVGIntegerOptionalInteger& toSVGIntegerOptionalInteger(const SVGPropertyBase& base)
|
| +{
|
| + ASSERT(base.type() == SVGIntegerOptionalInteger::classType());
|
| + return static_cast<const SVGIntegerOptionalInteger&>(base);
|
| +}
|
| +
|
| +
|
| } // namespace blink
|
|
|
| #endif // SVGIntegerOptionalInteger_h
|
|
|