| 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..0470b8fb2f2b443dc454efcf9968f599f62aa147 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPath.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPath.h
|
| @@ -32,6 +32,7 @@
|
| #define SVGPath_h
|
|
|
| #include "core/svg/properties/SVGProperty.h"
|
| +#include "core/svg/properties/SVGPropertyHelper.h"
|
|
|
| namespace blink {
|
|
|
| @@ -78,12 +79,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
|
|
|
|
|