mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
backing out last change, didn't realize trunk now requires driver approval
This commit is contained in:
parent
76bec835f6
commit
266bae5fee
@ -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…
Reference in New Issue
Block a user