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

Unified Diff: third_party/WebKit/Source/core/css/CSSViewportRule.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/CSSViewportRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSViewportRule.cpp b/third_party/WebKit/Source/core/css/CSSViewportRule.cpp
index 4d670a986796926a24d23ec731368cd0645dcf81..b878fc2920fcc7f699cd054db4ae0c602d8c5c67 100644
--- a/third_party/WebKit/Source/core/css/CSSViewportRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSViewportRule.cpp
@@ -58,7 +58,7 @@ CSSStyleDeclaration* CSSViewportRule::style() const
String CSSViewportRule::cssText() const
{
StringBuilder result;
- result.appendLiteral("@viewport { ");
+ result.append("@viewport { ");
String decls = m_viewportRule->properties().asText();
result.append(decls);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSupportsRule.cpp ('k') | third_party/WebKit/Source/core/css/MediaList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698