| Index: Source/core/editing/markup.cpp
|
| diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
|
| index af001a849255dada4bfbb5fcf04e9e104307c7ef..2a644bebb6f51a9d2556c1248a6d63400825e522 100644
|
| --- a/Source/core/editing/markup.cpp
|
| +++ b/Source/core/editing/markup.cpp
|
| @@ -710,7 +710,7 @@ PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document& docum
|
|
|
| // FIXME: It's not clear what this code is trying to do. It puts nodes as direct children of a
|
| // Document that are not normally allowed by using the parser machinery.
|
| - taggedDocument->parserTakeAllChildrenFrom(taggedFragment.get());
|
| + taggedDocument->parserTakeAllChildrenFrom(*taggedFragment);
|
|
|
| RefPtr<Node> nodeBeforeContext;
|
| RefPtr<Node> nodeAfterContext;
|
| @@ -731,7 +731,7 @@ PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document& docum
|
| if (specialCommonAncestor)
|
| fragment->appendChild(specialCommonAncestor);
|
| else
|
| - fragment->parserTakeAllChildrenFrom(toContainerNode(commonAncestor));
|
| + fragment->parserTakeAllChildrenFrom(toContainerNode(*commonAncestor));
|
|
|
| trimFragment(fragment.get(), nodeBeforeContext.get(), nodeAfterContext.get());
|
|
|
|
|