diff --git a/mozilla/content/html/content/src/nsHTMLInputElement.cpp b/mozilla/content/html/content/src/nsHTMLInputElement.cpp
index 25396519154..5a75b9874be 100644
--- a/mozilla/content/html/content/src/nsHTMLInputElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLInputElement.cpp
@@ -1806,7 +1806,7 @@ nsHTMLInputElement::GetType(nsAString& aValue)
NS_IMETHODIMP
nsHTMLInputElement::SetType(const nsAString& aValue)
{
- return SetAttrHelper(nsHTMLAtoms::type, aValue);
+ return SetAttr(kNameSpaceID_None, nsHTMLAtoms::type, aValue, PR_TRUE);
}
static void