Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 4b01f59b0e8be2fede36812d0af8b789691927ab..2ac631deb846408f0e14b6ce920241905e9b7356 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -1968,11 +1968,12 @@ void Node::showNodePathForThis() const |
if (previous->nodeName() == node->nodeName()) |
++count; |
if (hasIdAttr) |
- fprintf(stderr, "[@id=\"%s\" and position()=%d]", idattr.string().utf8().data(), count); |
+ fprintf(stderr, "[@id=\"%s\" and position()=%d]", idattr.utf8().data(), count); |
else |
fprintf(stderr, "[%d]", count); |
- } else if (hasIdAttr) |
- fprintf(stderr, "[@id=\"%s\"]", idattr.string().utf8().data()); |
+ } else if (hasIdAttr) { |
+ fprintf(stderr, "[@id=\"%s\"]", idattr.utf8().data()); |
+ } |
break; |
} |
case TEXT_NODE: |