bug 68366 (asserts prevent automated regression tests from being run)

sr=waterson
just removed an unnecessary assertion (and early termination side effect)
This commit is contained in:
buster%netscape.com 2001-02-12 05:37:25 +00:00
Родитель 5f4d767c2e
Коммит 68a20f0213
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -688,8 +688,7 @@ NS_IMETHODIMP nsDocShellTreeOwner::SetWebBrowserChrome(nsIWebBrowserChrome* aWeb
nsCOMPtr<nsIWebBrowserSiteWindow> ownerWin(do_QueryInterface(aWebBrowserChrome));
nsCOMPtr<nsIInterfaceRequestor> requestor(do_QueryInterface(aWebBrowserChrome));
NS_ENSURE_TRUE(ownerWin, NS_ERROR_INVALID_ARG);
// it's ok for ownerWin or requestor to be null.
mWebBrowserChrome = aWebBrowserChrome;
mOwnerWin = ownerWin;
mOwnerRequestor = requestor;