Index: Source/core/page/PageSerializer.cpp |
diff --git a/Source/core/page/PageSerializer.cpp b/Source/core/page/PageSerializer.cpp |
index eb04ba1be60968466ccf132422c8be539595ef15..23ec1e4faa4e8be56750ec5bc6acff7ef6b6bcfe 100644 |
--- a/Source/core/page/PageSerializer.cpp |
+++ b/Source/core/page/PageSerializer.cpp |
@@ -137,9 +137,9 @@ void SerializerMarkupAccumulator::appendElement(StringBuilder& out, Element& ele |
MarkupAccumulator::appendElement(out, element, namespaces); |
if (isHTMLHeadElement(element)) { |
- out.append("<meta charset=\""); |
+ out.appendLiteral("<meta charset=\""); |
out.append(m_document.charset()); |
- out.append("\">"); |
+ out.appendLiteral("\">"); |
} |
// FIXME: For object (plugins) tags and video tag we could replace them by an image of their current contents. |
@@ -265,7 +265,7 @@ void PageSerializer::serializeCSSStyleSheet(CSSStyleSheet& styleSheet, const KUR |
if (!itemText.isEmpty()) { |
cssText.append(itemText); |
if (i < styleSheet.length() - 1) |
- cssText.append("\n\n"); |
+ cssText.appendLiteral("\n\n"); |
} |
ASSERT(styleSheet.ownerDocument()); |
Document& document = *styleSheet.ownerDocument(); |