back myself out to see if I caused the pageload times to go up
I'm sure its me :( git-svn-id: svn://10.0.0.236/trunk@127336 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -709,19 +709,20 @@ nsWebShell::GetLinkState(const nsACString& aLinkURI, nsLinkState& aState)
|
||||
nsresult rv;
|
||||
|
||||
// get the cached IO service
|
||||
if (!mIOService)
|
||||
mIOService = do_GetService(NS_IOSERVICE_CONTRACTID);
|
||||
if (!mIOService) {
|
||||
mIOService = do_GetService(NS_IOSERVICE_CONTRACTID, &rv);
|
||||
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
|
||||
if (mIOService) {
|
||||
// clean up the url using the right parser
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
rv = NS_NewURI(getter_AddRefs(uri), aLinkURI, nsnull, nsnull,
|
||||
mIOService);
|
||||
|
||||
// clean up the url using the right parser
|
||||
nsCOMPtr<nsIURI> uri;
|
||||
rv = NS_NewURI(getter_AddRefs(uri), aLinkURI, nsnull, nsnull,
|
||||
mIOService);
|
||||
|
||||
// now get the fully canonicalized path
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = uri->GetSpec(resolvedPath);
|
||||
// now get the fully canonicalized path
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = uri->GetSpec(resolvedPath);
|
||||
}
|
||||
}
|
||||
|
||||
PRBool isVisited;
|
||||
|
||||
Reference in New Issue
Block a user