| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index e7766f1517764202878d2c1e2b76fa3f60166f4a..fdc20908685c44adee91624c3ce73ec23a9780ba 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -1303,7 +1303,7 @@ void Node::setTextContent(const String& text) {
|
| // See crbug.com/352836 also.
|
| // No need to do anything if the text is identical.
|
| if (container->hasOneTextChild() &&
|
| - toText(container->firstChild())->data() == text)
|
| + toText(container->firstChild())->data() == text && !text.isEmpty())
|
| return;
|
|
|
| ChildListMutationScope mutation(*this);
|
|
|