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

Unified Diff: third_party/WebKit/Source/core/css/CSSImportRule.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/CSSImportRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSImportRule.cpp b/third_party/WebKit/Source/core/css/CSSImportRule.cpp
index a3e448b0a2d0062456529ba062c08156ce44c88a..54a24e33368026d3a42e67ab4f72f6565762da5f 100644
--- a/third_party/WebKit/Source/core/css/CSSImportRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSImportRule.cpp
@@ -54,9 +54,9 @@ MediaList* CSSImportRule::media() const
String CSSImportRule::cssText() const
{
StringBuilder result;
- result.appendLiteral("@import url(\"");
+ result.append("@import url(\"");
result.append(m_importRule->href());
- result.appendLiteral("\")");
+ result.append("\")");
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