Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -84,7 +84,7 @@ nsHTMLImageLoader::SetURL(const nsString& aNewSpec)
|
||||
if (mBaseURL && !aNewSpec.Equals("")) {
|
||||
nsString empty;
|
||||
nsresult rv;
|
||||
rv = NS_MakeAbsoluteURI(mURLSpec, mBaseURL, mURL);
|
||||
rv = NS_MakeAbsoluteURI(mURL, mURLSpec, mBaseURL);
|
||||
if (NS_FAILED(rv)) {
|
||||
mURL = mURLSpec;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user