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