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

Unified Diff: third_party/WebKit/Source/core/css/CSSPageRule.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/CSSPageRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPageRule.cpp b/third_party/WebKit/Source/core/css/CSSPageRule.cpp
index b8a09f7907af24477738658a9f292af586e8a84b..86bac3581b45a878effc3780c084eb7cb5148e6e 100644
--- a/third_party/WebKit/Source/core/css/CSSPageRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPageRule.cpp
@@ -75,12 +75,12 @@ void CSSPageRule::setSelectorText(const String& selectorText)
String CSSPageRule::cssText() const
{
StringBuilder result;
- result.appendLiteral("@page ");
+ result.append("@page ");
String pageSelectors = selectorText();
result.append(pageSelectors);
if (!pageSelectors.isEmpty())
- result.appendLiteral(" ");
- result.appendLiteral("{ ");
+ result.append(" ");
+ result.append("{ ");
String decls = m_pageRule->properties().asText();
result.append(decls);
if (!decls.isEmpty())
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSNamespaceRule.cpp ('k') | third_party/WebKit/Source/core/css/CSSPaintValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698