remove 1.8 branch ifdefs; keeping in sync with 1.8 branch version of this file; r=me

This commit is contained in:
vladimir%pobox.com 2006-05-30 17:20:26 +00:00
parent b6c1702b81
commit 4ebd29cdbb

View File

@ -982,7 +982,6 @@ nsCanvasRenderingContext2D::GetInputStream(const nsACString& aMimeType,
const nsAString& aEncoderOptions,
nsIInputStream **aStream)
{
#ifndef MOZILLA_1_8_BRANCH
nsCString conid(NS_LITERAL_CSTRING("@mozilla.org/image/encoder;2?type="));
conid += aMimeType;
@ -1021,9 +1020,6 @@ nsCanvasRenderingContext2D::GetInputStream(const nsACString& aMimeType,
}
return CallQueryInterface(encoder, aStream);
#else
return NS_ERROR_FAILURE;
#endif
}
//