Index: third_party/WebKit/Source/core/html/HTMLElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.h b/third_party/WebKit/Source/core/html/HTMLElement.h |
index 1b9af5d1f96e16521fd739dbe3cb71e2ba8ec814..42d828908d51f7873cc8a489540d309f51f35ad7 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLElement.h |
@@ -186,8 +186,6 @@ private: |
inline bool is##thisType(const Node& node) { return node.isHTMLElement() ? is##thisType(toHTMLElement(node)) : false; } \ |
inline bool is##thisType(const Node* node) { return node && is##thisType(*node); } \ |
inline bool is##thisType(const Element* element) { return element && is##thisType(*element); } \ |
- template<typename T> inline bool is##thisType(const PassRefPtr<T>& node) { return is##thisType(node.get()); } \ |
- template<typename T> inline bool is##thisType(const RefPtr<T>& node) { return is##thisType(node.get()); } \ |
template <> inline bool isElementOfType<const thisType>(const HTMLElement& element) { return is##thisType(element); } \ |
DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) |