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

This commit is contained in:
bzbarsky@mit.edu
2006-05-31 15:58:43 +00:00
parent 68153b524a
commit 9432bfc77f
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);
}