Bug 1160200 - APNG can't be used with type switching. r=mcaceres, r=jrmuizel, r=johns

This commit is contained in:
Marcos Caceres
2016-08-09 22:15:00 +02:00
parent 5e0d0c667e
commit 1641e52c61
14 changed files with 98 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ DecoderFactory::GetDecoderType(const char* aMimeType)
type = DecoderType::PNG;
} else if (!strcmp(aMimeType, IMAGE_X_PNG)) {
type = DecoderType::PNG;
} else if (!strcmp(aMimeType, IMAGE_APNG)) {
type = DecoderType::PNG;
// GIF
} else if (!strcmp(aMimeType, IMAGE_GIF)) {