Index: Source/core/editing/markup.cpp |
diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp |
index 9a6ec3e1846399acf4a8001652e39022abba0c55..4300c40f13249476038b61342cceeb795c884090 100644 |
--- a/Source/core/editing/markup.cpp |
+++ b/Source/core/editing/markup.cpp |
@@ -713,8 +713,8 @@ PassRefPtr<DocumentFragment> createFragmentFromMarkupWithContext(Document& docum |
return nullptr; |
RefPtr<Range> range = Range::create(*taggedDocument.get(), |
- positionAfterNode(nodeBeforeContext.get()).parentAnchoredEquivalent(), |
- positionBeforeNode(nodeAfterContext.get()).parentAnchoredEquivalent()); |
+ positionAfterNode(*nodeBeforeContext).parentAnchoredEquivalent(), |
+ positionBeforeNode(*nodeAfterContext).parentAnchoredEquivalent()); |
Node* commonAncestor = range->commonAncestorContainer(ASSERT_NO_EXCEPTION); |
Node* specialCommonAncestor = ancestorToRetainStructureAndAppearanceWithNoRenderer(commonAncestor); |