Bug 1291045 (Part 1) - Use a different IDecodingTask for animated images. r=dholbert,edwin

This commit is contained in:
Seth Fowler
2016-08-01 17:02:16 -07:00
parent e2e1307cfa
commit 77d123ca25
3 changed files with 80 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ DecoderFactory::CreateAnimationDecoder(DecoderType aType,
return nullptr;
}
RefPtr<IDecodingTask> task = new DecodingTask(WrapNotNull(decoder));
RefPtr<IDecodingTask> task = new AnimationDecodingTask(WrapNotNull(decoder));
return task.forget();
}