Fixing build bustage.

git-svn-id: svn://10.0.0.236/trunk@31845 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com 1999-05-16 08:51:22 +00:00
parent 71e23c11b3
commit bd8f3caaa0

View File

@ -1006,8 +1006,9 @@ nsWebShellWindow::CreatePopup(nsIDOMElement* aElement, nsIDOMElement* aPopupCont
if (parentDocument == nsnull)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> popupContent = do_QueryInterface(aPopupContent);
nsCOMPtr<nsIDocument> popupDocument;
if (NS_FAILED(rv = parentDocument->CreatePopupDocument(aPopupContent, getter_AddRefs(popupDocument)))) {
if (NS_FAILED(rv = parentDocument->CreatePopupDocument(popupContent, getter_AddRefs(popupDocument)))) {
NS_ERROR("Unable to create the child popup document.");
return rv;
}