diff --git a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp
index b9f4c18e164..614e1731311 100644
--- a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp
+++ b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp
@@ -2125,8 +2125,6 @@ nsGenericHTMLElement::GetFormControlFrameFor(nsIContent* aContent,
return form_frame;
}
}
-
- NS_ERROR("Form control has a frame, but it's not a form frame");
}
return nsnull;