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

Unified Diff: third_party/WebKit/Source/core/css/CSSMediaRule.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/CSSMediaRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSMediaRule.cpp b/third_party/WebKit/Source/core/css/CSSMediaRule.cpp
index 7405e9ac42ed1a4e64417e78443ac4fbef8b3c1b..b8c882ad8a0dd7559ee9b334ad2175adb9f6ba5d 100644
--- a/third_party/WebKit/Source/core/css/CSSMediaRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSMediaRule.cpp
@@ -44,12 +44,12 @@ MediaQuerySet* CSSMediaRule::mediaQueries() const
String CSSMediaRule::cssText() const
{
StringBuilder result;
- result.appendLiteral("@media ");
+ result.append("@media ");
if (mediaQueries()) {
result.append(mediaQueries()->mediaText());
result.append(' ');
}
- result.appendLiteral("{ \n");
+ result.append("{ \n");
appendCSSTextForItems(result);
result.append('}');
return result.toString();
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp ('k') | third_party/WebKit/Source/core/css/CSSNamespaceRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698