Chromium Code Reviews| Index: Source/core/html/HTMLInputElement.cpp |
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
| index eac55fc56cef4d23d92e75f9c45a026bbe0161e7..a4aa1996013a96ebfa62b995976e4b872cc112ee 100644 |
| --- a/Source/core/html/HTMLInputElement.cpp |
| +++ b/Source/core/html/HTMLInputElement.cpp |
| @@ -448,7 +448,7 @@ void HTMLInputElement::updateType() |
| if (didRespectHeightAndWidth != m_inputType->shouldRespectHeightAndWidthAttributes()) { |
| ASSERT(elementData()); |
| - AttributeCollection attributes = this->attributes(); |
| + AttributeCollection attributes = this->attributesWithoutUpdate(); |
|
adamk
2014/08/04 18:54:34
Nit: you can drop |this| here.
Inactive
2014/08/04 19:39:52
Done.
|
| if (const Attribute* height = attributes.find(heightAttr)) |
| attributeChanged(heightAttr, height->value()); |
| if (const Attribute* width = attributes.find(widthAttr)) |