Index: third_party/WebKit/Source/core/dom/Node.h |
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h |
index d0d15f40de457e17cf5ec2e664d271e761c8b952..5df1527b6c90ae7031fc70e1032355eb7a97c3be 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.h |
+++ b/third_party/WebKit/Source/core/dom/Node.h |
@@ -868,12 +868,10 @@ DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Node) |
#define DEFINE_NODE_TYPE_CASTS(thisType, predicate) \ |
- template<typename T> inline thisType* to##thisType(const RefPtr<T>& node) { return to##thisType(node.get()); } \ |
DEFINE_TYPE_CASTS(thisType, Node, node, node->predicate, node.predicate) |
// This requires isClassName(const Node&). |
#define DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) \ |
- template<typename T> inline thisType* to##thisType(const RefPtr<T>& node) { return to##thisType(node.get()); } \ |
DEFINE_TYPE_CASTS(thisType, Node, node, is##thisType(*node), is##thisType(node)) |
#define DECLARE_NODE_FACTORY(T) \ |