| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index 4c405b31ea763680c56d5b05d317711491e734a3..ab45728b3c0909b2b952e5b71b5173ac66b93ccf 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -485,16 +485,19 @@ void HTMLInputElement::updateType() {
|
| DCHECK(elementData());
|
| AttributeCollection attributes = attributesWithoutUpdate();
|
| if (const Attribute* height = attributes.find(heightAttr)) {
|
| - TextControlElement::attributeChanged(heightAttr, height->value(),
|
| - height->value());
|
| + TextControlElement::attributeChanged(
|
| + heightAttr, height->value(), height->value(),
|
| + AttributeModificationReason::kDirectly);
|
| }
|
| if (const Attribute* width = attributes.find(widthAttr)) {
|
| - TextControlElement::attributeChanged(widthAttr, width->value(),
|
| - width->value());
|
| + TextControlElement::attributeChanged(
|
| + widthAttr, width->value(), width->value(),
|
| + AttributeModificationReason::kDirectly);
|
| }
|
| if (const Attribute* align = attributes.find(alignAttr)) {
|
| - TextControlElement::attributeChanged(alignAttr, align->value(),
|
| - align->value());
|
| + TextControlElement::attributeChanged(
|
| + alignAttr, align->value(), align->value(),
|
| + AttributeModificationReason::kDirectly);
|
| }
|
| }
|
|
|
|
|