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:
@@ -705,6 +705,8 @@ nsObjectLoadingContent::LoadObject(const nsAString& aURI,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_TryToSetImmutable(uri);
|
||||
|
||||
return LoadObject(uri, aNotify, aTypeHint, aForceLoad);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user