nsresult rv = PrepareToLoadURI(aUri, aCommand, aPostDataStream, aModifyHistory, aType, aLocalIP, aHistoryState, aReferrer); if (NS_SUCCEEDED(rv)) rv =  DoLoadURL(aUri, aCommand, aPostDataStream, aType, aLocalIP, aReferrer, aWindowTarget); return rv;
return nsDocShell::LoadURI(aUri, presContext);
nsWebShell::LoadURI(nsIURI * aUri,                    const char * aCommand,                    nsIInputStream* aPostDataStream,                    PRBool aModifyHistory,                    nsLoadFlags aType,                    const PRUint32 aLocalIP,                    nsISupports * aHistoryState,                    const PRUnichar* aReferrer,                    const char * aWindowTarget){  nsresult rv = PrepareToLoadURI(aUri, aCommand, aPostDataStream,                                 aModifyHistory, aType, aLocalIP,                                 aHistoryState, aReferrer);  if (NS_SUCCEEDED(rv))    rv =  DoLoadURL(aUri, aCommand, aPostDataStream, aType, aLocalIP, aReferrer, aWindowTarget);  return rv;}