Make the URI of an nsIImageLoadingContent immutable. Bug 337246, r=biesi, sr=sicking

git-svn-id: svn://10.0.0.236/trunk@198735 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2006-05-31 15:58:43 +00:00
parent 897c6c82d6
commit fb477fa6d5
2 changed files with 10 additions and 2 deletions

View File

@@ -705,6 +705,8 @@ nsObjectLoadingContent::LoadObject(const nsAString& aURI,
return NS_OK;
}
NS_TryToSetImmutable(uri);
return LoadObject(uri, aNotify, aTypeHint, aForceLoad);
}