Bug 1368776 - Part 7. Remove size parameter from ImageResource::UpdateImageContainer. r=tnikkel

This commit is contained in:
Andrew Osmond 2017-11-17 06:45:25 -05:00
parent 634060f444
commit a01ef792f6
3 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ ImageResource::GetImageContainerImpl(LayerManager* aManager,
}
void
ImageResource::UpdateImageContainer(const IntSize&)
ImageResource::UpdateImageContainer()
{
MOZ_ASSERT(NS_IsMainThread());

View File

@ -349,7 +349,7 @@ protected:
const gfx::IntSize& aSize,
uint32_t aFlags);
void UpdateImageContainer(const gfx::IntSize& aSize);
void UpdateImageContainer();
void ReleaseImageContainer();

View File

@ -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)) {