teach RunModalDialog to use extant windows; use one in NetSupportDialog (fixes bug 7858). remove AppShellService interface references
git-svn-id: svn://10.0.0.236/trunk@36668 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -627,7 +627,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIWebShellWindow> profWindow;
|
||||
rv = profAppShell->CreateTopLevelWindow(nsnull, profURL, PR_TRUE, *getter_AddRefs(profWindow),
|
||||
rv = profAppShell->CreateTopLevelWindow(nsnull, profURL, PR_TRUE, getter_AddRefs(profWindow),
|
||||
nsnull, nsnull, profWinWidth, profWinHeight);
|
||||
|
||||
NS_RELEASE(profURL);
|
||||
@@ -656,7 +656,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
if ( !useArgs ) {
|
||||
nsCOMPtr<nsIWebShellWindow> newWindow;
|
||||
rv = appShell->CreateTopLevelWindow(nsnull, url, PR_TRUE, *getter_AddRefs(newWindow),
|
||||
rv = appShell->CreateTopLevelWindow(nsnull, url, PR_TRUE, getter_AddRefs(newWindow),
|
||||
nsnull, nsnull, widthVal, heightVal);
|
||||
} else {
|
||||
nsIDOMToolkitCore* toolkit = nsnull;
|
||||
|
||||
Reference in New Issue
Block a user