Index: third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp b/third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp |
index f8f4e3a1e4f9a1413000857eafe99085b40e687c..e45e1fc08e0fa120a5ab561405085735aa9f8708 100644 |
--- a/third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp |
@@ -5,6 +5,7 @@ |
#include "core/css/CSSCustomIdentValue.h" |
#include "core/css/CSSMarkup.h" |
+#include "wtf/text/StringBuilder.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -27,7 +28,9 @@ String CSSCustomIdentValue::customCSSText() const |
{ |
if (isKnownPropertyID()) |
return getPropertyNameAtomicString(m_propertyId); |
- return quoteCSSStringIfNeeded(m_string); |
+ StringBuilder builder; |
+ serializeIdentifier(m_string, builder); |
+ return builder.toString(); |
} |
DEFINE_TRACE_AFTER_DISPATCH(CSSCustomIdentValue) |