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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFaceRule.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/CSSFontFaceRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceRule.cpp b/third_party/WebKit/Source/core/css/CSSFontFaceRule.cpp
index 9bcc463dfbf689a51778816014af201c26ce16e6..24bf43630fe4bf8beb50215c11aa449845fb4d19 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFaceRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceRule.cpp
@@ -48,7 +48,7 @@ CSSStyleDeclaration* CSSFontFaceRule::style() const
String CSSFontFaceRule::cssText() const
{
StringBuilder result;
- result.appendLiteral("@font-face { ");
+ result.append("@font-face { ");
String descs = m_fontFaceRule->properties().asText();
result.append(descs);
if (!descs.isEmpty())
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698