Index: third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h b/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
index d7d0e02293ba184666f1e3fdda10560cd8d38f1f..5fd3153229c6eb9b85bd15d0b3133a015c59ab0b 100644 |
--- a/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
+++ b/third_party/WebKit/Source/core/svg/properties/SVGListPropertyHelper.h |
@@ -37,7 +37,6 @@ |
#include "core/svg/SVGAnimationElement.h" |
#include "core/svg/properties/SVGPropertyHelper.h" |
#include "wtf/Allocator.h" |
-#include "wtf/PassRefPtr.h" |
#include "wtf/Vector.h" |
namespace blink { |
@@ -171,14 +170,6 @@ private: |
size_t findItem(ItemPropertyType*); |
HeapVector<Member<ItemPropertyType>> m_values; |
- |
- static Derived* toDerived(SVGPropertyBase* base) |
- { |
- if (!base) |
- return nullptr; |
- ASSERT(base->type() == Derived::classType()); |
- return static_pointer_cast<Derived>(base); |
- } |
}; |
template<typename Derived, typename ItemProperty> |