Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index eac55fc56cef4d23d92e75f9c45a026bbe0161e7..fdefe345fd8e1c11bfd1a7e9e7247bc30595dfec 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 = attributesWithoutUpdate(); |
if (const Attribute* height = attributes.find(heightAttr)) |
attributeChanged(heightAttr, height->value()); |
if (const Attribute* width = attributes.find(widthAttr)) |