Index: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
index f874b06b1f00bd86b40c2e3412273325ba59eea7..2ad494a75c4f8ce34910e49d5d5ad477a4675bf7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
@@ -721,11 +721,11 @@ String nodePositionAsStringForTesting(Node* node) |
for (Node* n = node; n; n = parent) { |
parent = n->parentOrShadowHostNode(); |
if (n != node) |
- result.appendLiteral(" of "); |
+ result.append(" of "); |
if (parent) { |
if (body && n == body) { |
// We don't care what offset body may be in the document. |
- result.appendLiteral("body"); |
+ result.append("body"); |
break; |
} |
if (n->isShadowRoot()) { |
@@ -733,14 +733,14 @@ String nodePositionAsStringForTesting(Node* node) |
result.append(getTagName(n)); |
result.append('}'); |
} else { |
- result.appendLiteral("child "); |
+ result.append("child "); |
result.appendNumber(n->nodeIndex()); |
- result.appendLiteral(" {"); |
+ result.append(" {"); |
result.append(getTagName(n)); |
result.append('}'); |
} |
} else { |
- result.appendLiteral("document"); |
+ result.append("document"); |
} |
} |