Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: Source/core/dom/Node.cpp

Issue 482753002: Use StringBuilder::appendLiteral() / StringBuilder::append(char) when possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DatasetDOMStringMap.cpp ('k') | Source/core/fileapi/FileReaderLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index 08c6c3365afd9964ed30a3c62b2a8da705686b9b..1129ffd1f552f08f13f73fc3f4e687022f93773e 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -1641,9 +1641,9 @@ static void appendAttributeDesc(const Node* node, StringBuilder& stringBuilder,
return;
stringBuilder.append(attrDesc);
- stringBuilder.append("=\"");
+ stringBuilder.appendLiteral("=\"");
stringBuilder.append(attr);
- stringBuilder.append("\"");
+ stringBuilder.appendLiteral("\"");
}
void Node::showNode(const char* prefix) const
« no previous file with comments | « Source/core/dom/DatasetDOMStringMap.cpp ('k') | Source/core/fileapi/FileReaderLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698