Seems the conditional as a parameter was too much for speedracer's little brain.
git-svn-id: svn://10.0.0.236/trunk@65135 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2239,9 +2239,10 @@ NS_IMETHODIMP nsDocShell::InternalLoad(nsIURI* aURI, nsIURI* aReferrer,
|
||||
|
||||
NS_ENSURE_SUCCESS(StopCurrentLoads(), NS_ERROR_FAILURE);
|
||||
|
||||
NS_ENSURE_SUCCESS(DoURILoad(aURI, (loadLink == aLoadType) ?
|
||||
nsIURILoader::viewUserClick : nsIURILoader::viewNormal, aWindowTarget),
|
||||
NS_ERROR_FAILURE);
|
||||
nsURILoadCommand loadCmd = nsIURILoader::viewNormal;
|
||||
if(loadLink == aLoadType)
|
||||
loadCmd = nsIURILoader::viewUserClick;
|
||||
NS_ENSURE_SUCCESS(DoURILoad(aURI, loadCmd, aWindowTarget), NS_ERROR_FAILURE);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user