| Index: third_party/WebKit/Source/core/svg/SVGRect.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGRect.h b/third_party/WebKit/Source/core/svg/SVGRect.h
|
| index d2cf1f7d4a8dbcb1f12f5a98f97070fda84a92e5..c9ccd027f5903a89f84ea91f033c6df4ce275bab 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGRect.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGRect.h
|
| @@ -93,6 +93,11 @@ inline PassRefPtrWillBeRawPtr<SVGRect> toSVGRect(PassRefPtrWillBeRawPtr<SVGPrope
|
| return static_pointer_cast<SVGRect>(base.release());
|
| }
|
|
|
| +inline const SVGRect& toSVGRect(const SVGPropertyBase& base)
|
| +{
|
| + ASSERT(base.type() == SVGRect::classType());
|
| + return static_cast<const SVGRect&>(base);
|
| +}
|
| } // namespace blink
|
|
|
| #endif // SVGRect_h
|
|
|