Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 39a38c2a31f189c84273620d0c3dde4ff5eccf07..e8645e2e3669d4ce0a155a7819e52fae10cb16da 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2345,31 +2345,6 @@ RenderObject* Element::pseudoElementRenderer(PseudoId pseudoId) const |
return 0; |
} |
-// ElementTraversal API |
-Element* Element::firstElementChild() const |
-{ |
- return ElementTraversal::firstWithin(this); |
-} |
- |
-Element* Element::lastElementChild() const |
-{ |
- Node* n = lastChild(); |
- while (n && !n->isElementNode()) |
- n = n->previousSibling(); |
- return toElement(n); |
-} |
- |
-unsigned Element::childElementCount() const |
-{ |
- unsigned count = 0; |
- Node* n = firstChild(); |
- while (n) { |
- count += n->isElementNode(); |
- n = n->nextSibling(); |
- } |
- return count; |
-} |
- |
bool Element::matchesReadOnlyPseudoClass() const |
{ |
return false; |