Index: third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
diff --git a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
index 6b8dae386396225e91af06d687e941a6636c97cf..05927f51778e25f5be1f7e39525b49f730553a7b 100644 |
--- a/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
+++ b/third_party/WebKit/Source/core/editing/serializers/Serialization.cpp |
@@ -291,7 +291,7 @@ static const char fragmentMarkerTag[] = "webkit-fragment-marker"; |
static bool findNodesSurroundingContext(DocumentFragment* fragment, RefPtrWillBeRawPtr<Comment>& nodeBeforeContext, RefPtrWillBeRawPtr<Comment>& nodeAfterContext) |
{ |
for (Node& node : NodeTraversal::startsAt(fragment->firstChild())) { |
- if (node.nodeType() == Node::COMMENT_NODE && toComment(node).data() == fragmentMarkerTag) { |
+ if (node.getNodeType() == Node::COMMENT_NODE && toComment(node).data() == fragmentMarkerTag) { |
if (!nodeBeforeContext) { |
nodeBeforeContext = &toComment(node); |
} else { |