summaryrefslogtreecommitdiffstats
path: root/image/decoders/nsIconDecoder.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-21 16:28:53 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-21 16:28:53 +0100
commita3da925495ab64a3baa69aac4ae35d848a865616 (patch)
treeb91d7275cb8d80b7465425e614c823c06dfca100 /image/decoders/nsIconDecoder.cpp
parent6a9c2be4eac174c1b44ffb0ff16fd32fca92aa18 (diff)
parent25f4c75d68629a26cbb5433975027cd691a18dd7 (diff)
downloadUXP-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/nsIconDecoder.cpp')
-rw-r--r--image/decoders/nsIconDecoder.cpp3
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();