| Index: third_party/WebKit/Source/core/svg/SVGPath.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPath.h b/third_party/WebKit/Source/core/svg/SVGPath.h
|
| index 0f9ac5b84d65d19b3d37552eb8d56e7f654887ff..781f6d51952be7a6f505f6f6b288958cc84fc063 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPath.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPath.h
|
| @@ -78,12 +78,7 @@ private:
|
| mutable OwnPtr<Path> m_cachedPath;
|
| };
|
|
|
| -inline PassRefPtrWillBeRawPtr<SVGPath> toSVGPath(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase)
|
| -{
|
| - RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase;
|
| - ASSERT(base->type() == SVGPath::classType());
|
| - return static_pointer_cast<SVGPath>(base.release());
|
| -}
|
| +DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGPath);
|
|
|
| } // namespace blink
|
|
|
|
|