Index: Source/core/editing/ApplyStyleCommand.cpp |
diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp |
index 15196feb21075331628e055ee50ae9e65024c3b2..0f8f5b3feb6ce8f34edf26e7d2d6c032c48dfe6a 100644 |
--- a/Source/core/editing/ApplyStyleCommand.cpp |
+++ b/Source/core/editing/ApplyStyleCommand.cpp |
@@ -1115,7 +1115,7 @@ void ApplyStyleCommand::removeInlineStyle(EditingStyle* style, const Position &s |
} |
if (node->isHTMLElement() && nodeFullySelected(node.get(), start, end)) { |
RefPtr<HTMLElement> elem = toHTMLElement(node); |
- RefPtr<Node> prev = NodeTraversal::previousPostOrder(elem.get()); |
+ RefPtr<Node> prev = NodeTraversal::previousPostOrder(*elem); |
RefPtr<Node> next = NodeTraversal::next(*elem); |
RefPtr<EditingStyle> styleToPushDown; |
RefPtr<Node> childNode; |