| Index: Source/core/editing/markup.cpp
|
| diff --git a/Source/core/editing/markup.cpp b/Source/core/editing/markup.cpp
|
| index 6ef653f57f41b7fcad65b1d98984a9c60b9fb017..9250af5dfa03b1b7bf9079e51ce324357766d3f7 100644
|
| --- a/Source/core/editing/markup.cpp
|
| +++ b/Source/core/editing/markup.cpp
|
| @@ -674,7 +674,7 @@ static const char fragmentMarkerTag[] = "webkit-fragment-marker";
|
|
|
| static bool findNodesSurroundingContext(Document* document, RefPtrWillBeRawPtr<Comment>& nodeBeforeContext, RefPtrWillBeRawPtr<Comment>& nodeAfterContext)
|
| {
|
| - for (Node& node : NodeTraversal::from(document->firstChild())) {
|
| + for (Node& node : NodeTraversal::startsAt(document->firstChild())) {
|
| if (node.nodeType() == Node::COMMENT_NODE && toComment(node).data() == fragmentMarkerTag) {
|
| if (!nodeBeforeContext)
|
| nodeBeforeContext = &toComment(node);
|
|
|