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

Unified Diff: third_party/WebKit/Source/core/css/CSSKeyframesRule.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/css/CSSKeyframesRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
index 3c1c50d2dce2604a86f2c573432cf89505238c7c..f81050542d1123d4c880a229b882de7fa81bba98 100644
--- a/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp
@@ -153,15 +153,15 @@ String CSSKeyframesRule::cssText() const
{
StringBuilder result;
if (isVendorPrefixed())
- result.appendLiteral("@-webkit-keyframes ");
+ result.append("@-webkit-keyframes ");
else
- result.appendLiteral("@keyframes ");
+ result.append("@keyframes ");
result.append(name());
- result.appendLiteral(" { \n");
+ result.append(" { \n");
unsigned size = length();
for (unsigned i = 0; i < size; ++i) {
- result.appendLiteral(" ");
+ result.append(" ");
result.append(m_keyframesRule->keyframes()[i]->cssText());
result.append('\n');
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImportRule.cpp ('k') | third_party/WebKit/Source/core/css/CSSMediaRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698