Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe

This doesn't switch all of the users yet, but is a step in the right
direction.
This commit is contained in:
Jeff Muizelaar
2012-10-12 08:43:01 -04:00
parent 3158fc0d9d
commit 170a207cce
36 changed files with 242 additions and 127 deletions

View File

@@ -244,7 +244,7 @@ double nsCSSValue::GetAngleValueInRadians() const
}
}
imgIRequest* nsCSSValue::GetImageValue(nsIDocument* aDocument) const
imgRequestProxy* nsCSSValue::GetImageValue(nsIDocument* aDocument) const
{
NS_ABORT_IF_FALSE(mUnit == eCSSUnit_Image, "not an Image value");
return mValue.mImage->mRequests.GetWeak(aDocument);
@@ -1725,7 +1725,7 @@ css::ImageValue::ImageValue(nsIURI* aURI, nsStringBuffer* aString,
}
static PLDHashOperator
ClearRequestHashtable(nsISupports* aKey, nsCOMPtr<imgIRequest>& aValue,
ClearRequestHashtable(nsISupports* aKey, nsRefPtr<imgRequestProxy>& aValue,
void* aClosure)
{
mozilla::css::ImageValue* image =