fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron

This commit is contained in:
darin@meer.net
2006-03-30 18:40:56 +00:00
parent 48bf8423ac
commit 862ba45cb9
54 changed files with 107 additions and 107 deletions

View File

@@ -410,8 +410,8 @@ nsFrameLoader::EnsureDocShell()
// enclosing chrome shell.
chromeEventHandler = do_QueryInterface(mOwnerContent);
NS_WARN_IF_FALSE(chromeEventHandler,
"This mContent should implement this.");
NS_ASSERTION(chromeEventHandler,
"This mContent should implement this.");
} else {
nsCOMPtr<nsIDocShell> parentShell(do_QueryInterface(parentAsNode));