Index: Source/core/editing/ApplyStyleCommand.cpp |
diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp |
index 35656f9f6e9f136f3de0786e5e8ac60f8fe88844..f221f34d2da4fcc4036f6bbce64614c5f71a9be7 100644 |
--- a/Source/core/editing/ApplyStyleCommand.cpp |
+++ b/Source/core/editing/ApplyStyleCommand.cpp |
@@ -1028,7 +1028,7 @@ void ApplyStyleCommand::pushDownInlineStyleAroundNode(EditingStyle* style, Node* |
Vector<RefPtr<Element> > elementsToPushDown; |
while (current && current != targetNode && current->contains(targetNode)) { |
NodeVector currentChildren; |
- getChildNodes(current.get(), currentChildren); |
+ getChildNodes(*current, currentChildren); |
RefPtr<Element> styledElement; |
if (current->isStyledElement() && isStyledInlineElementToRemove(toElement(current))) { |
styledElement = toElement(current); |