| Index: third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp b/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| index c64bd2755f063a0cf64326feb725d2736da669c6..0cb899cad7dab063c137afc8023d7de591033e15 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/SubmitInputType.cpp
|
| @@ -51,7 +51,7 @@ const AtomicString& SubmitInputType::formControlType() const {
|
|
|
| void SubmitInputType::appendToFormData(FormData& formData) const {
|
| if (element().isActivatedSubmit())
|
| - formData.append(element().name(), element().valueWithDefault());
|
| + formData.append(element().name(), element().valueOrDefaultLabel());
|
| }
|
|
|
| bool SubmitInputType::supportsRequired() const {
|
| @@ -70,7 +70,7 @@ bool SubmitInputType::canBeSuccessfulSubmitButton() {
|
| return true;
|
| }
|
|
|
| -String SubmitInputType::defaultValue() const {
|
| +String SubmitInputType::defaultLabel() const {
|
| return locale().queryString(WebLocalizedString::SubmitButtonDefaultLabel);
|
| }
|
|
|
|
|