Index: third_party/WebKit/Source/core/dom/Node.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp |
index 6f5ced5d306c9f57f537ed650b071db855991c82..494da728eeede057b125ed01e214e985c5970d22 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -390,18 +390,6 @@ Node* Node::getRootNode(const GetRootNodeOptions& options) const { |
: &treeRoot(); |
} |
-Text* Node::nextTextSibling() const { |
- for (Node* sibling = nextSibling(); |
- sibling && |
- (!sibling->isElementNode() || !toElement(sibling)->layoutObject()); |
- sibling = sibling->nextSibling()) { |
- if (sibling->isTextNode()) { |
- return toText(sibling); |
- } |
- } |
- return nullptr; |
-} |
- |
Node* Node::insertBefore(Node* newChild, |
Node* refChild, |
ExceptionState& exceptionState) { |