зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
5f4d767c2e
Коммит
68a20f0213
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче