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:
parent
a715265d3d
commit
9661713a4b
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user