| Index: third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
|
| index 0981cb2cf304832b5e0ce8997fe88f69a95e259d..c04aa277c6c42410402192c67bea68f14dac9581 100644
|
| --- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
|
| @@ -100,9 +100,9 @@
|
| DCHECK(!shouldAnnotate() || propertyMissingOrEqualToNone(inlineStyle->style(), CSSPropertyWebkitTextDecorationsInEffect));
|
| DCHECK(m_document);
|
|
|
| - m_result.append("<span style=\"");
|
| + m_result.appendLiteral("<span style=\"");
|
| MarkupFormatter::appendAttributeValue(m_result, inlineStyle->style()->asText(), m_document->isHTMLDocument());
|
| - m_result.append("\">");
|
| + m_result.appendLiteral("\">");
|
| }
|
| if (!shouldAnnotate()) {
|
| appendText(text);
|
| @@ -134,7 +134,7 @@
|
| m_formatter.appendAttribute(out, element, attribute, nullptr);
|
| }
|
| if (style && !style->isEmpty()) {
|
| - out.append(" style=\"");
|
| + out.appendLiteral(" style=\"");
|
| MarkupFormatter::appendAttributeValue(out, style->style()->asText(), documentIsHTML);
|
| out.append('\"');
|
| }
|
| @@ -162,9 +162,9 @@
|
| DCHECK(m_document);
|
|
|
| StringBuilder openTag;
|
| - openTag.append("<div style=\"");
|
| + openTag.appendLiteral("<div style=\"");
|
| MarkupFormatter::appendAttributeValue(openTag, style->asText(), m_document->isHTMLDocument());
|
| - openTag.append("\">");
|
| + openTag.appendLiteral("\">");
|
| m_reversedPrecedingMarkup.append(openTag.toString());
|
|
|
| m_result.append("</div>");
|
|
|