| Index: third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
|
| index 269a0b18bc4df868e86644187aee5dc0a49599a7..99f7960b16e25a8fd892b5448e6d9d13077d7009 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp
|
| @@ -67,7 +67,7 @@ void BaseButtonInputType::valueAttributeChanged() {
|
| }
|
|
|
| String BaseButtonInputType::displayValue() const {
|
| - return element().valueWithDefault().removeCharacters(isHTMLLineBreak);
|
| + return element().valueOrDefaultLabel().removeCharacters(isHTMLLineBreak);
|
| }
|
|
|
| bool BaseButtonInputType::shouldSaveAndRestoreFormControlState() const {
|
|
|