| Index: third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| index ab28711b2d572a43255acb003e5a2ca3b7a58c89..1286574aecb2df48cb31c388a30bacdcc8aeb0c0 100644
|
| --- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
|
| @@ -79,7 +79,7 @@ Node::InsertionNotificationRequest TextControlElement::insertedInto(
|
| if (!insertionPoint->isConnected())
|
| return InsertionDone;
|
| String initialValue = value();
|
| - setTextAsOfLastFormControlChangeEvent(initialValue.isNull() ? emptyString()
|
| + setTextAsOfLastFormControlChangeEvent(initialValue.isNull() ? emptyString
|
| : initialValue);
|
| return InsertionDone;
|
| }
|
| @@ -773,7 +773,7 @@ String TextControlElement::innerEditorValue() const {
|
| DCHECK(!openShadowRoot());
|
| HTMLElement* innerEditor = innerEditorElement();
|
| if (!innerEditor || !isTextControl())
|
| - return emptyString();
|
| + return emptyString;
|
|
|
| StringBuilder result;
|
| for (Node& node : NodeTraversal::inclusiveDescendantsOf(*innerEditor)) {
|
|
|