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

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

Issue 430823002: Drop editing's createFullMarkup() function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Omit optional arguments Created 6 years, 5 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/web/WebLocalFrameImpl.cpp » ('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 de075c6286511c3c46a1e6987fa3dee1b5e5df46..86f6660cb5a5dae4f9b9da625f9c2bfd14f32c6b 100644
--- a/Source/core/editing/markup.cpp
+++ b/Source/core/editing/markup.cpp
@@ -903,23 +903,6 @@ PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromText(Range* context,
return fragment.release();
}
-String createFullMarkup(const Node* node)
-{
- if (!node)
- return String();
-
- LocalFrame* frame = node->document().frame();
- if (!frame)
- return String();
-
- // FIXME: This is never "for interchange". Is that right?
- String markupString = createMarkup(node, IncludeNode, 0);
- if (!node->isDocumentNode() && !node->isDocumentTypeNode())
- markupString = frame->documentTypeString() + markupString;
-
- return markupString;
-}
-
String urlToMarkup(const KURL& url, const String& title)
{
StringBuilder markup;
« no previous file with comments | « Source/core/editing/markup.h ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698