| Index: sky/engine/core/editing/markup.cpp
|
| diff --git a/sky/engine/core/editing/markup.cpp b/sky/engine/core/editing/markup.cpp
|
| index a04a843a292c9bc4e12575d7fe700e691abeac43..44aecb727b67704579f8d79732a61a474ec6d058 100644
|
| --- a/sky/engine/core/editing/markup.cpp
|
| +++ b/sky/engine/core/editing/markup.cpp
|
| @@ -529,10 +529,10 @@ 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, ParserContentPolicy parserContentPolicy)
|
| +PassRefPtrWillBeRawPtr<DocumentFragment> createFragmentFromMarkup(Document& document, const String& markup)
|
| {
|
| RefPtrWillBeRawPtr<DocumentFragment> fragment = DocumentFragment::create(document);
|
| - fragment->parseHTML(markup, nullptr, parserContentPolicy);
|
| + fragment->parseHTML(markup, nullptr);
|
| return fragment.release();
|
| }
|
|
|
| @@ -545,12 +545,12 @@ 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, ParserContentPolicy parserContentPolicy, const char* method, ExceptionState& exceptionState)
|
| +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, parserContentPolicy);
|
| + fragment->parseHTML(markup, contextElement);
|
| return fragment;
|
| }
|
|
|
|
|