backing out last change, didn't realize trunk now requires driver approval
git-svn-id: svn://10.0.0.236/trunk@122879 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e56d38a8bf
commit
d789a6545f
@ -1594,18 +1594,6 @@ nsNativeAppSupportWin::HandleRequest( LPBYTE request, PRBool newWindow ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// try for the "-profilemanager" argument, in which case we want the
|
||||
// profile manager to appear, but only if there are no windows open
|
||||
|
||||
rv = args->GetCmdLineValue( "-profilemanager", getter_Copies(arg));
|
||||
if ( NS_SUCCEEDED(rv) && (const char*)arg ) { // -profilemanager on command line
|
||||
nsCOMPtr<nsIDOMWindowInternal> window;
|
||||
GetMostRecentWindow(0, getter_AddRefs(window));
|
||||
if (!window) { // there are no open windows
|
||||
mForceProfileStartup = PR_TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
// try for the "-kill" argument, to shut down the server
|
||||
rv = args->GetCmdLineValue( "-kill", getter_Copies(arg));
|
||||
if ( NS_SUCCEEDED(rv) && (const char*)arg ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user