| Index: Source/core/editing/markup.cpp
|
| diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
|
| index 386f8fb9690d1ad3be051d038d6f2a15e05d70bb..40dc23be54fa986d1353cf0b2c6d76148efa7340 100644
|
| --- a/Source/core/editing/markup.cpp
|
| +++ b/Source/core/editing/markup.cpp
|
| @@ -969,7 +969,7 @@ PassRefPtr<DocumentFragment> createFragmentForTransformToFragment(const String&
|
| RefPtr<HTMLBodyElement> fakeBody = HTMLBodyElement::create(outputDoc);
|
| fragment->parseHTML(sourceString, fakeBody.get());
|
| } else if (sourceMIMEType == "text/plain") {
|
| - fragment->parserAppendChild(Text::create(&outputDoc, sourceString));
|
| + fragment->parserAppendChild(Text::create(outputDoc, sourceString));
|
| } else {
|
| bool successfulParse = fragment->parseXML(sourceString, 0);
|
| if (!successfulParse)
|
| @@ -1063,7 +1063,7 @@ void replaceChildrenWithText(ContainerNode* container, const String& text, Excep
|
| return;
|
| }
|
|
|
| - RefPtr<Text> textNode = Text::create(&containerNode->document(), text);
|
| + RefPtr<Text> textNode = Text::create(containerNode->document(), text);
|
|
|
| if (containerNode->hasOneChild()) {
|
| containerNode->replaceChild(textNode.release(), containerNode->firstChild(), es);
|
|
|