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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.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/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 1eeb0c9e1ecf38e38ed3ead4c0067c24d50959b5..bffa584cba6dca4b3035d5966957d4203668315f 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredentialTest.cpp
@@ -32,11 +32,11 @@ protected:
HTMLFormElement* populateForm(const char* enctype, const char* html)
{
StringBuilder b;
- b.appendLiteral("<!DOCTYPE html><html><body><form id='theForm' enctype='");
+ b.append("<!DOCTYPE html><html><body><form id='theForm' enctype='");
b.append(enctype);
- b.appendLiteral("'>");
+ b.append("'>");
b.append(html);
- b.appendLiteral("</form></body></html>");
+ b.append("</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