Index: Source/core/dom/TreeWalker.cpp |
diff --git a/Source/core/dom/TreeWalker.cpp b/Source/core/dom/TreeWalker.cpp |
index bec5c19899272b39bac28a636ed0583f0eecd81b..8af0dda36b77334fafb9c05ccda12fa51aa6359d 100644 |
--- a/Source/core/dom/TreeWalker.cpp |
+++ b/Source/core/dom/TreeWalker.cpp |
@@ -267,7 +267,7 @@ Children: |
if (acceptNodeResult == NodeFilter::FILTER_REJECT) |
break; |
} |
- while (Node* nextSibling = NodeTraversal::nextSkippingChildren(node.get(), root())) { |
+ while (Node* nextSibling = NodeTraversal::nextSkippingChildren(*node, root())) { |
node = nextSibling; |
short acceptNodeResult = acceptNode(state, node.get()); |
if (state && state->hadException()) |