Fix image blocking for obviously image objects. Bug 334825, r=biesi, sr=shaver

This commit is contained in:
bzbarsky@mit.edu
2006-04-24 19:56:18 +00:00
parent f5e004636c
commit f81ed4aec2
3 changed files with 50 additions and 2 deletions

View File

@@ -641,6 +641,14 @@ nsObjectLoadingContent::HasNewFrame(nsIObjectFrame* aFrame)
return NS_OK;
}
NS_IMETHODIMP
nsObjectLoadingContent::GetContentTypeForMIMEType(const nsACString& aMIMEType,
PRUint32* aType)
{
*aType = GetTypeOfContent(PromiseFlatCString(aMIMEType));
return NS_OK;
}
// nsIInterfaceRequestor
NS_IMETHODIMP
nsObjectLoadingContent::GetInterface(const nsIID & aIID, void **aResult)