| Index: Source/core/html/HTMLElement.cpp
|
| diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
|
| index d5c9c754a92cbefc8fa757afb46179696f09b339..27946c5916c246c3fad01ed76b68b23c42353bb5 100644
|
| --- a/Source/core/html/HTMLElement.cpp
|
| +++ b/Source/core/html/HTMLElement.cpp
|
| @@ -447,10 +447,10 @@ void HTMLElement::setOuterText(const String& text, ExceptionState& exceptionStat
|
|
|
| RefPtrWillBeRawPtr<Node> node = next ? next->previousSibling() : nullptr;
|
| if (!exceptionState.hadException() && node && node->isTextNode())
|
| - mergeWithNextTextNode(node.release(), exceptionState);
|
| + mergeWithNextTextNode(toText(node.get()), exceptionState);
|
|
|
| if (!exceptionState.hadException() && prev && prev->isTextNode())
|
| - mergeWithNextTextNode(prev.release(), exceptionState);
|
| + mergeWithNextTextNode(toText(prev.get()), exceptionState);
|
| }
|
|
|
| void HTMLElement::applyAlignmentAttributeToStyle(const AtomicString& alignment, MutableStylePropertySet* style)
|
|
|