| 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 b541cc248fce077ab4af0d66d1a4df7d6021810f..bbfbd62a005f4568a3d0d3ebc0385946e9042af7 100644
|
| --- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupAccumulator.cpp
|
| @@ -97,8 +97,8 @@ void StyledMarkupAccumulator::appendTextWithInlineStyle(Text& text, RawPtr<Editi
|
| {
|
| if (inlineStyle) {
|
| // wrappingStyleForAnnotatedSerialization should have removed -webkit-text-decorations-in-effect
|
| - ASSERT(!shouldAnnotate() || propertyMissingOrEqualToNone(inlineStyle->style(), CSSPropertyWebkitTextDecorationsInEffect));
|
| - ASSERT(m_document);
|
| + DCHECK(!shouldAnnotate() || propertyMissingOrEqualToNone(inlineStyle->style(), CSSPropertyWebkitTextDecorationsInEffect));
|
| + DCHECK(m_document);
|
|
|
| m_result.appendLiteral("<span style=\"");
|
| MarkupFormatter::appendAttributeValue(m_result, inlineStyle->style()->asText(), m_document->isHTMLDocument());
|
| @@ -158,8 +158,8 @@ void StyledMarkupAccumulator::appendElement(StringBuilder& out, const Element& e
|
| void StyledMarkupAccumulator::wrapWithStyleNode(StylePropertySet* style)
|
| {
|
| // wrappingStyleForSerialization should have removed -webkit-text-decorations-in-effect
|
| - ASSERT(propertyMissingOrEqualToNone(style, CSSPropertyWebkitTextDecorationsInEffect));
|
| - ASSERT(m_document);
|
| + DCHECK(propertyMissingOrEqualToNone(style, CSSPropertyWebkitTextDecorationsInEffect));
|
| + DCHECK(m_document);
|
|
|
| StringBuilder openTag;
|
| openTag.appendLiteral("<div style=\"");
|
|
|