Index: third_party/WebKit/Source/core/svg/SVGEnumeration.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp b/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp |
index 32b3e4f8a79f77583ea80ee0cf2d0f55997d49cd..c4c4a85ca9f460be971ac3ad918f3499e09ce4f0 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGEnumeration.cpp |
@@ -29,7 +29,6 @@ |
*/ |
#include "config.h" |
- |
#include "core/svg/SVGEnumeration.h" |
#include "bindings/core/v8/ExceptionState.h" |
@@ -39,12 +38,7 @@ |
namespace blink { |
-inline PassRefPtrWillBeRawPtr<SVGEnumerationBase> toSVGEnumerationBase(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGEnumerationBase::classType()); |
- return static_pointer_cast<SVGEnumerationBase>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGEnumerationBase); |
SVGEnumerationBase::~SVGEnumerationBase() |
{ |