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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp

Issue 2017303002: Revert of Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/modules/credentialmanager/PasswordCredentialTest.cpp
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
index bffa584cba6dca4b3035d5966957d4203668315f..1eeb0c9e1ecf38e38ed3ead4c0067c24d50959b5 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
@@ -32,11 +32,11 @@
HTMLFormElement* populateForm(const char* enctype, const char* html)
{
StringBuilder b;
- b.append("<!DOCTYPE html><html><body><form id='theForm' enctype='");
+ b.appendLiteral("<!DOCTYPE html><html><body><form id='theForm' enctype='");
b.append(enctype);
- b.append("'>");
+ b.appendLiteral("'>");
b.append(html);
- b.append("</form></body></html>");
+ b.appendLiteral("</form></body></html>");
document().documentElement()->setInnerHTML(b.toString(), ASSERT_NO_EXCEPTION);
document().view()->updateAllLifecyclePhases();
HTMLFormElement* form = toHTMLFormElement(document().getElementById("theForm"));

Powered by Google App Engine
This is Rietveld 408576698