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