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

Unified Diff: third_party/WebKit/Source/core/dom/SandboxFlags.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
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/Text.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/SandboxFlags.cpp
diff --git a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
index 1226f526e9ad17d22dcf1f98e3f01fdd4cbe4db7..af4191a695610b6ec5fc84d0b3fd964f4bd56984 100644
--- a/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
+++ b/third_party/WebKit/Source/core/dom/SandboxFlags.cpp
@@ -67,7 +67,7 @@ SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, String& invalidT
flags &= ~SandboxPresentation;
} else {
if (numberOfTokenErrors)
- tokenErrors.appendLiteral(", '");
+ tokenErrors.append(", '");
else
tokenErrors.append('\'');
tokenErrors.append(sandboxToken);
@@ -78,9 +78,9 @@ SandboxFlags parseSandboxPolicy(const SpaceSplitString& policy, String& invalidT
if (numberOfTokenErrors) {
if (numberOfTokenErrors > 1)
- tokenErrors.appendLiteral(" are invalid sandbox flags.");
+ tokenErrors.append(" are invalid sandbox flags.");
else
- tokenErrors.appendLiteral(" is an invalid sandbox flag.");
+ tokenErrors.append(" is an invalid sandbox flag.");
invalidTokensErrorMessage = tokenErrors.toString();
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698