Index: Source/core/dom/Element.h |
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h |
index 336dc9acd9f48d661ed6154cf880d6130bb2ceff..8886f69fd5a48dac9362220b780d1faa19741dd0 100644 |
--- a/Source/core/dom/Element.h |
+++ b/Source/core/dom/Element.h |
@@ -700,22 +700,6 @@ inline Element* Node::parentElement() const |
return parent && parent->isElementNode() ? toElement(parent) : 0; |
} |
-inline Element* Node::previousElementSibling() const |
-{ |
- Node* n = previousSibling(); |
- while (n && !n->isElementNode()) |
- n = n->previousSibling(); |
- return toElement(n); |
-} |
- |
-inline Element* Node::nextElementSibling() const |
-{ |
- Node* n = nextSibling(); |
- while (n && !n->isElementNode()) |
- n = n->nextSibling(); |
- return toElement(n); |
-} |
- |
inline bool Element::fastHasAttribute(const QualifiedName& name) const |
{ |
ASSERT(fastAttributeLookupAllowed(name)); |