| Index: Source/core/editing/StyledMarkupAccumulator.cpp
|
| diff --git a/Source/core/editing/StyledMarkupAccumulator.cpp b/Source/core/editing/StyledMarkupAccumulator.cpp
|
| index 5f2ff485be8b035a4ecf4c52137a80fe2787fbd9..b424529f4fc1471f532b1efd3b8d36478e33ddcb 100644
|
| --- a/Source/core/editing/StyledMarkupAccumulator.cpp
|
| +++ b/Source/core/editing/StyledMarkupAccumulator.cpp
|
| @@ -160,7 +160,7 @@ void StyledMarkupAccumulator::appendElement(StringBuilder& out, Element& element
|
| // We'll handle the style attribute separately, below.
|
| if (attribute.name() == styleAttr && shouldOverrideStyleAttr)
|
| continue;
|
| - m_accumulator.appendAttribute(out, element, attribute, 0);
|
| + m_accumulator.appendAttribute(out, element, attribute, nullptr);
|
| }
|
|
|
| if (shouldOverrideStyleAttr) {
|
| @@ -192,7 +192,7 @@ void StyledMarkupAccumulator::appendElement(StringBuilder& out, Element& element
|
|
|
| if (!newInlineStyle->isEmpty()) {
|
| out.appendLiteral(" style=\"");
|
| - m_accumulator.appendAttributeValue(out, newInlineStyle->style()->asText(), documentIsHTML);
|
| + MarkupFormatter::appendAttributeValue(out, newInlineStyle->style()->asText(), documentIsHTML);
|
| out.append('\"');
|
| }
|
| }
|
| @@ -209,7 +209,7 @@ void StyledMarkupAccumulator::appendStyleNodeOpenTag(StringBuilder& out, StylePr
|
| else
|
| out.appendLiteral("<span style=\"");
|
| ASSERT(m_document);
|
| - m_accumulator.appendAttributeValue(out, style->asText(), m_document->isHTMLDocument());
|
| + MarkupFormatter::appendAttributeValue(out, style->asText(), m_document->isHTMLDocument());
|
| out.appendLiteral("\">");
|
| }
|
|
|
|
|