diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 13:34:01 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 13:34:01 +0100 |
commit | 3417e581ce76662131e8089de19b05af20a7fe19 (patch) | |
tree | 82022858bd64d6ca4b1023d0317355b621d8b0aa /image/decoders/nsIconDecoder.cpp | |
parent | 622098073e132995994fac4d61e3629d08ee1801 (diff) | |
download | UXP-3417e581ce76662131e8089de19b05af20a7fe19.tar UXP-3417e581ce76662131e8089de19b05af20a7fe19.tar.gz UXP-3417e581ce76662131e8089de19b05af20a7fe19.tar.lz UXP-3417e581ce76662131e8089de19b05af20a7fe19.tar.xz UXP-3417e581ce76662131e8089de19b05af20a7fe19.zip |
Bug 1462355 - Part 1c. Make individual image decoders to use updated Decoder/SurfacePipe methods.
Extend this change to nsWebPDecoder.cpp
Diffstat (limited to 'image/decoders/nsIconDecoder.cpp')
-rw-r--r-- | image/decoders/nsIconDecoder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/image/decoders/nsIconDecoder.cpp b/image/decoders/nsIconDecoder.cpp index 9ca63f5ad..b186874c6 100644 --- a/image/decoders/nsIconDecoder.cpp +++ b/image/decoders/nsIconDecoder.cpp @@ -70,8 +70,9 @@ nsIconDecoder::ReadHeader(const char* aData) MOZ_ASSERT(!mImageData, "Already have a buffer allocated?"); Maybe<SurfacePipe> pipe = - SurfacePipeFactory::CreateSurfacePipe(this, 0, Size(), OutputSize(), + SurfacePipeFactory::CreateSurfacePipe(this, Size(), OutputSize(), FullFrame(), SurfaceFormat::B8G8R8A8, + /* aAnimParams */ Nothing(), SurfacePipeFlags()); if (!pipe) { return Transition::TerminateFailure(); |