| Index: sky/engine/core/editing/markup.cpp
|
| diff --git a/sky/engine/core/editing/markup.cpp b/sky/engine/core/editing/markup.cpp
|
| index 74a2d63878ddf3f6bc6aa0a9f85a45bd4e12fe70..f87363da07913e89d8656d4c6e3c04ce9e47805f 100644
|
| --- a/sky/engine/core/editing/markup.cpp
|
| +++ b/sky/engine/core/editing/markup.cpp
|
| @@ -529,13 +529,6 @@ String createMarkup(const Range* range, WillBeHeapVector<RawPtrWillBeMember<Node
|
| return createMarkupInternal(document, range, updatedRange, nodes, shouldAnnotate, convertBlocksToInlines, shouldResolveURLs, constrainingAncestor);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkup(Document& document, const String& markup)
|
| -{
|
| - RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(document);
|
| - fragment->parseHTML(markup, nullptr);
|
| - return fragment.release();
|
| -}
|
| -
|
| String createMarkup(const Node* node, EChildrenOnly childrenOnly, WillBeHeapVector<RawPtrWillBeMember<Node> >* nodes, EAbsoluteURLs shouldResolveURLs, Vector<QualifiedName>* tagNamesToSkip)
|
| {
|
| if (!node)
|
| @@ -545,15 +538,6 @@ String createMarkup(const Node* node, EChildrenOnly childrenOnly, WillBeHeapVect
|
| return accumulator.serializeNodes(const_cast<Node&>(*node), childrenOnly, tagNamesToSkip);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentForInnerOuterHTML(const String& markup, Element* contextElement, const char* method, ExceptionState& exceptionState)
|
| -{
|
| - ASSERT(contextElement);
|
| - Document& document = isHTMLTemplateElement(*contextElement) ? contextElement->document().ensureTemplateDocument() : contextElement->document();
|
| - RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(document);
|
| - fragment->parseHTML(markup, contextElement);
|
| - return fragment;
|
| -}
|
| -
|
| void replaceChildrenWithFragment(ContainerNode* container, PassRefPtrWillBeRawPtr<DocumentFragment> fragment, ExceptionState& exceptionState)
|
| {
|
| ASSERT(container);
|
|
|