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

Unified Diff: third_party/WebKit/Source/core/css/CSSImportRule.cpp

Issue 2017303002: Revert of Remove StringBuilder::appendLiteral. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/CSSImportRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSImportRule.cpp b/third_party/WebKit/Source/core/css/CSSImportRule.cpp
index 54a24e33368026d3a42e67ab4f72f6565762da5f..a3e448b0a2d0062456529ba062c08156ce44c88a 100644
--- a/third_party/WebKit/Source/core/css/CSSImportRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSImportRule.cpp
@@ -54,9 +54,9 @@
String CSSImportRule::cssText() const
{
StringBuilder result;
- result.append("@import url(\"");
+ result.appendLiteral("@import url(\"");
result.append(m_importRule->href());
- result.append("\")");
+ result.appendLiteral("\")");
if (m_importRule->mediaQueries()) {
String mediaText = m_importRule->mediaQueries()->mediaText();
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageSetValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698