diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 16:28:53 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-21 16:28:53 +0100 |
commit | a3da925495ab64a3baa69aac4ae35d848a865616 (patch) | |
tree | b91d7275cb8d80b7465425e614c823c06dfca100 /image/decoders/nsJPEGDecoder.cpp | |
parent | 6a9c2be4eac174c1b44ffb0ff16fd32fca92aa18 (diff) | |
parent | 25f4c75d68629a26cbb5433975027cd691a18dd7 (diff) | |
download | UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.gz UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.lz UXP-a3da925495ab64a3baa69aac4ae35d848a865616.tar.xz UXP-a3da925495ab64a3baa69aac4ae35d848a865616.zip |
Merge branch 'webp-update'
Diffstat (limited to 'image/decoders/nsJPEGDecoder.cpp')
-rw-r--r-- | image/decoders/nsJPEGDecoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image/decoders/nsJPEGDecoder.cpp b/image/decoders/nsJPEGDecoder.cpp index e76ffcbaf..7dac18e27 100644 --- a/image/decoders/nsJPEGDecoder.cpp +++ b/image/decoders/nsJPEGDecoder.cpp @@ -388,8 +388,8 @@ nsJPEGDecoder::ReadJPEGData(const char* aData, size_t aLength) jpeg_has_multiple_scans(&mInfo); MOZ_ASSERT(!mImageData, "Already have a buffer allocated?"); - nsresult rv = AllocateFrame(/* aFrameNum = */ 0, OutputSize(), - FullOutputFrame(), SurfaceFormat::B8G8R8X8); + nsresult rv = AllocateFrame(OutputSize(), FullOutputFrame(), + SurfaceFormat::B8G8R8X8); if (NS_FAILED(rv)) { mState = JPEG_ERROR; MOZ_LOG(sJPEGDecoderAccountingLog, LogLevel::Debug, |