diff --git a/content/html/content/src/nsHTMLHRElement.cpp b/content/html/content/src/nsHTMLHRElement.cpp index 2cb5d1afc38..7457c0d7afe 100644 --- a/content/html/content/src/nsHTMLHRElement.cpp +++ b/content/html/content/src/nsHTMLHRElement.cpp @@ -126,7 +126,7 @@ nsHTMLHRElement::ParseAttribute(PRInt32 aNamespaceID, const nsAString& aValue, nsAttrValue& aResult) { - if (aAttribute == kNameSpaceID_None) { + if (aNamespaceID == kNameSpaceID_None) { if (aAttribute == nsHTMLAtoms::width) { return aResult.ParseSpecialIntValue(aValue, PR_TRUE, PR_FALSE); }