bug 300024 remove assertion when putting XUL buttons in an XHTML document

patch by Caleb <bugs.caleb@gmail.com> r+sr=bz a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176199 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de 2005-07-18 16:43:47 +00:00
parent a715265d3d
commit 9661713a4b

View File

@ -2557,7 +2557,6 @@ nsXULElement::GetControllers(nsIControllers** aResult)
// Set the command dispatcher on the new controllers object
nsCOMPtr<nsIDOMXULDocument> domxuldoc = do_QueryInterface(doc);
NS_ASSERTION(domxuldoc != nsnull, "not an nsIDOMXULDocument");
if (! domxuldoc)
return NS_ERROR_UNEXPECTED;