mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Bug 1462355 - Part 1c. Make individual image decoders to use updated Decoder/SurfacePipe methods.
Extend this change to nsWebPDecoder.cpp
This commit is contained in:
parent
a08160ac44
commit
7937138cb0
6 changed files with 49 additions and 33 deletions
|
|
@ -234,8 +234,12 @@ nsWebPDecoder::CreateFrame(const nsIntRect& aFrameRect)
|
|||
|
||||
SurfacePipeFlags pipeFlags = SurfacePipeFlags();
|
||||
|
||||
AnimationParams animParams {
|
||||
aFrameRect, mTimeout, mCurrentFrame, mBlend, mDisposal
|
||||
};
|
||||
|
||||
Maybe<SurfacePipe> pipe = SurfacePipeFactory::CreateSurfacePipe(this,
|
||||
mCurrentFrame, Size(), OutputSize(), aFrameRect, mFormat, pipeFlags);
|
||||
Size(), OutputSize(), aFrameRect, mFormat, Some(animParams), pipeFlags);
|
||||
if (!pipe) {
|
||||
MOZ_LOG(sWebPLog, LogLevel::Error,
|
||||
("[this=%p] nsWebPDecoder::CreateFrame -- no pipe\n", this));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue