| 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 f1292c443e9f91f47da3e401f871bbcfa14bbabd..bead55f338998ccfa9ec7835ef0ae0e273230945 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);
|
|
|