Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 88f30bd2c1fddc94d4be0ff7c4abc1a7f114b0a3..717d8d43f9997fb12dab13d87ed7c98d243c1f97 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -452,11 +452,11 @@ void HTMLInputElement::updateType() |
if (didRespectHeightAndWidth != m_inputType->shouldRespectHeightAndWidthAttributes()) { |
ASSERT(elementData()); |
- if (const Attribute* height = getAttributeItem(heightAttr)) |
+ if (const Attribute* height = findAttributeByName(heightAttr)) |
attributeChanged(heightAttr, height->value()); |
- if (const Attribute* width = getAttributeItem(widthAttr)) |
+ if (const Attribute* width = findAttributeByName(widthAttr)) |
attributeChanged(widthAttr, width->value()); |
- if (const Attribute* align = getAttributeItem(alignAttr)) |
+ if (const Attribute* align = findAttributeByName(alignAttr)) |
attributeChanged(alignAttr, align->value()); |
} |