Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index cd5ec5507c759d96843ce953036e240e368103cb..1ad7341127f541ed461e45f6d8f0bfd43b2325c5 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2336,31 +2336,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; |