diff --git a/image/Image.cpp b/image/Image.cpp index 49252dae988e..a01f89a340f4 100644 --- a/image/Image.cpp +++ b/image/Image.cpp @@ -169,7 +169,7 @@ ImageResource::GetImageContainerImpl(LayerManager* aManager, } void -ImageResource::UpdateImageContainer(const IntSize&) +ImageResource::UpdateImageContainer() { MOZ_ASSERT(NS_IsMainThread()); diff --git a/image/Image.h b/image/Image.h index 0a6461b1a474..55a9125e611a 100644 --- a/image/Image.h +++ b/image/Image.h @@ -349,7 +349,7 @@ protected: const gfx::IntSize& aSize, uint32_t aFlags); - void UpdateImageContainer(const gfx::IntSize& aSize); + void UpdateImageContainer(); void ReleaseImageContainer(); diff --git a/image/RasterImage.cpp b/image/RasterImage.cpp index 0cdca8f5d05e..f65ed4b1605b 100644 --- a/image/RasterImage.cpp +++ b/image/RasterImage.cpp @@ -1604,7 +1604,7 @@ RasterImage::NotifyProgress(Progress aProgress, if (!aInvalidRect.IsEmpty() && wasDefaultFlags) { // Update our image container since we're invalidating. - UpdateImageContainer(mSize); + UpdateImageContainer(); } if (!(aDecoderFlags & DecoderFlags::FIRST_FRAME_ONLY)) {