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

Unified Diff: Source/core/css/CSSPrimitiveValue.cpp

Issue 1060583011: Make quoteCSSString an internal helper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 8 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
« no previous file with comments | « Source/core/css/CSSMarkup.cpp ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValue.cpp
diff --git a/Source/core/css/CSSPrimitiveValue.cpp b/Source/core/css/CSSPrimitiveValue.cpp
index 7f3af6b63fc1f0a61dccdd756e787e5f5342b18e..39f999dbed813809010fb6ccaa9d1a3af43b3fa6 100644
--- a/Source/core/css/CSSPrimitiveValue.cpp
+++ b/Source/core/css/CSSPrimitiveValue.cpp
@@ -1057,9 +1057,7 @@ String CSSPrimitiveValue::customCSSText() const
text = quoteCSSStringIfNeeded(m_value.string);
break;
case CSS_STRING: {
- StringBuilder result;
- serializeString(m_value.string, result);
- text = result.toString();
+ text = serializeString(m_value.string);
break;
}
case CSS_URI:
« no previous file with comments | « Source/core/css/CSSMarkup.cpp ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698