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 8098447905d670f11e408c344c4b703a729d2ba7..6b5b78051c9a876a9411e17be024b52c2126fe9a 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) { |