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

Unified Diff: third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp

Issue 2017053003: Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 7 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
Index: third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
diff --git a/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp b/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
index 36c1b22431b5dbe0fe366666019c433ec129ab61..2f382cca24ba2d143086e88012b7795c18f593ef 100644
--- a/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
+++ b/third_party/WebKit/Source/core/xml/parser/XMLErrors.cpp
@@ -80,11 +80,11 @@ void XMLErrors::appendErrorMessage(const String& typeString, TextPosition positi
{
// <typeString> on line <lineNumber> at column <columnNumber>: <message>
m_errorMessages.append(typeString);
- m_errorMessages.appendLiteral(" on line ");
+ m_errorMessages.append(" on line ");
m_errorMessages.appendNumber(position.m_line.oneBasedInt());
- m_errorMessages.appendLiteral(" at column ");
+ m_errorMessages.append(" at column ");
m_errorMessages.appendNumber(position.m_column.oneBasedInt());
- m_errorMessages.appendLiteral(": ");
+ m_errorMessages.append(": ");
m_errorMessages.append(message);
}

Powered by Google App Engine
This is Rietveld 408576698