| Index: third_party/WebKit/Source/core/dom/Element.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
|
| index ff3aeb0b7f2622666fb366d0edf7fca9159bb403..c20805948e3c7e44295639980587fea6efb3d520 100644
|
| --- a/third_party/WebKit/Source/core/dom/Element.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Element.cpp
|
| @@ -3066,12 +3066,12 @@ String Element::textFromChildren() {
|
| foundMultipleTextNodes = true;
|
| unsigned length = text->data().length();
|
| if (length > std::numeric_limits<unsigned>::max() - totalLength)
|
| - return emptyString();
|
| + return emptyString;
|
| totalLength += length;
|
| }
|
|
|
| if (!firstTextNode)
|
| - return emptyString();
|
| + return emptyString;
|
|
|
| if (firstTextNode && !foundMultipleTextNodes) {
|
| firstTextNode->atomize();
|
|
|