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

Unified Diff: Source/core/css/CSSMediaRule.cpp

Issue 482753002: Use StringBuilder::appendLiteral() / StringBuilder::append(char) when possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | « Source/core/css/CSSKeyframesRule.cpp ('k') | Source/core/css/CSSPropertySourceData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSMediaRule.cpp
diff --git a/Source/core/css/CSSMediaRule.cpp b/Source/core/css/CSSMediaRule.cpp
index eb4ad2e3fd5cecfee0dc8aa60d80faf178609ab1..5427e9a6a097921c81d54b1a42bdb993741e51fd 100644
--- a/Source/core/css/CSSMediaRule.cpp
+++ b/Source/core/css/CSSMediaRule.cpp
@@ -49,7 +49,7 @@ MediaQuerySet* CSSMediaRule::mediaQueries() const
String CSSMediaRule::cssText() const
{
StringBuilder result;
- result.append("@media ");
+ result.appendLiteral("@media ");
if (mediaQueries()) {
result.append(mediaQueries()->mediaText());
result.append(' ');
« no previous file with comments | « Source/core/css/CSSKeyframesRule.cpp ('k') | Source/core/css/CSSPropertySourceData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698