Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: Source/core/editing/markup.cpp

Issue 52203002: Revert "Move innerHTML and outerHTML to Element" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/markup.h ('k') | Source/core/html/HTMLElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/markup.cpp
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
index af001a849255dada4bfbb5fcf04e9e104307c7ef..1d7b8b49bd433e04e9d66d4d191c6853f017cea6 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -1075,18 +1075,4 @@ void replaceChildrenWithText(ContainerNode* container, const String& text, Excep
containerNode->appendChild(textNode.release(), es);
}
-void mergeWithNextTextNode(PassRefPtr<Node> node, ExceptionState& es)
-{
- ASSERT(node && node->isTextNode());
- Node* next = node->nextSibling();
- if (!next || !next->isTextNode())
- return;
-
- RefPtr<Text> textNode = toText(node.get());
- RefPtr<Text> textNext = toText(next);
- textNode->appendData(textNext->data());
- if (textNext->parentNode()) // Might have been removed by mutation event.
- textNext->remove(es);
-}
-
}
« no previous file with comments | « Source/core/editing/markup.h ('k') | Source/core/html/HTMLElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698