mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
remove 1.8 branch ifdefs; keeping in sync with 1.8 branch version of this file; r=me
This commit is contained in:
parent
b6c1702b81
commit
4ebd29cdbb
@ -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
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user