mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1368776 - Part 7. Remove size parameter from ImageResource::UpdateImageContainer. r=tnikkel
This commit is contained in:
parent
634060f444
commit
a01ef792f6
@ -169,7 +169,7 @@ ImageResource::GetImageContainerImpl(LayerManager* aManager,
|
||||
}
|
||||
|
||||
void
|
||||
ImageResource::UpdateImageContainer(const IntSize&)
|
||||
ImageResource::UpdateImageContainer()
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
|
||||
|
@ -349,7 +349,7 @@ protected:
|
||||
const gfx::IntSize& aSize,
|
||||
uint32_t aFlags);
|
||||
|
||||
void UpdateImageContainer(const gfx::IntSize& aSize);
|
||||
void UpdateImageContainer();
|
||||
|
||||
void ReleaseImageContainer();
|
||||
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user