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

Unified Diff: third_party/WebKit/Source/core/css/StyleRuleKeyframe.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/StyleRuleKeyframe.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
index d8b970bdeadbd3bc8a7040d5ae9124346628df2a..db237ada9f1cf44247d601d67bd2683a2dedfb5e 100644
--- a/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
+++ b/third_party/WebKit/Source/core/css/StyleRuleKeyframe.cpp
@@ -24,7 +24,7 @@ String StyleRuleKeyframe::keyText() const
StringBuilder keyText;
for (unsigned i = 0; i < m_keys.size(); ++i) {
if (i)
- keyText.appendLiteral(", ");
+ keyText.append(", ");
keyText.appendNumber(m_keys.at(i) * 100);
keyText.append('%');
}
@@ -60,7 +60,7 @@ String StyleRuleKeyframe::cssText() const
{
StringBuilder result;
result.append(keyText());
- result.appendLiteral(" { ");
+ result.append(" { ");
String decls = m_properties->asText();
result.append(decls);
if (!decls.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698