Index: third_party/WebKit/Source/core/dom/Document.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp |
index 042bbf9e78441ac4139c64b54e81d497d4e9f3ab..02714142c1fccc3665c949405425532570a943a3 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.cpp |
+++ b/third_party/WebKit/Source/core/dom/Document.cpp |
@@ -4372,25 +4372,25 @@ |
return true; |
StringBuilder message; |
- message.append("The qualified name provided ('"); |
+ message.appendLiteral("The qualified name provided ('"); |
message.append(qualifiedName); |
- message.append("') "); |
+ message.appendLiteral("') "); |
if (returnValue.status == QNMultipleColons) { |
- message.append("contains multiple colons."); |
+ message.appendLiteral("contains multiple colons."); |
} else if (returnValue.status == QNInvalidStartChar) { |
- message.append("contains the invalid name-start character '"); |
+ message.appendLiteral("contains the invalid name-start character '"); |
message.append(returnValue.character); |
- message.append("'."); |
+ message.appendLiteral("'."); |
} else if (returnValue.status == QNInvalidChar) { |
- message.append("contains the invalid character '"); |
+ message.appendLiteral("contains the invalid character '"); |
message.append(returnValue.character); |
- message.append("'."); |
+ message.appendLiteral("'."); |
} else if (returnValue.status == QNEmptyPrefix) { |
- message.append("has an empty namespace prefix."); |
+ message.appendLiteral("has an empty namespace prefix."); |
} else { |
DCHECK_EQ(returnValue.status, QNEmptyLocalName); |
- message.append("has an empty local name."); |
+ message.appendLiteral("has an empty local name."); |
} |
if (returnValue.status == QNInvalidStartChar || returnValue.status == QNInvalidChar) |