Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index 1fe0467f9e3dfae905f5854fa1b554ba67bbd627..44ee6c7d3ec37187e2de39f1588e487deb545d2f 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -216,8 +216,7 @@ public: |
String textContent(bool convertBRsToNewlines = false) const; |
void setTextContent(const String&, ExceptionState&); |
- Node* lastDescendant() const; |
- Node* firstDescendant() const; |
+ Node& lastDescendant() const; |
// Other methods (not part of DOM) |