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..51979d8246001ac580d2ebdd25eb4f14c3417de8 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h |
+++ b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h |
@@ -31,7 +31,7 @@ |
#ifndef SVGIntegerOptionalInteger_h |
#define SVGIntegerOptionalInteger_h |
-#include "core/svg/SVGAnimatedInteger.h" |
+#include "core/svg/SVGInteger.h" |
#include "platform/heap/Handle.h" |
namespace blink { |
@@ -71,12 +71,7 @@ protected: |
RefPtrWillBeMember<SVGInteger> m_secondInteger; |
}; |
-inline PassRefPtrWillBeRawPtr<SVGIntegerOptionalInteger> toSVGIntegerOptionalInteger(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase) |
-{ |
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase; |
- ASSERT(base->type() == SVGIntegerOptionalInteger::classType()); |
- return static_pointer_cast<SVGIntegerOptionalInteger>(base.release()); |
-} |
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGIntegerOptionalInteger); |
} // namespace blink |