ported from UXP: Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed) (eac8afce)

This commit is contained in:
2023-01-10 15:44:15 +08:00
parent b8ec9308b3
commit 4c5ee58563
14 changed files with 359 additions and 87 deletions
+2 -2
View File
@@ -88,9 +88,9 @@ ImageWrapper::OnImageDataComplete(nsIRequest* aRequest,
}
void
ImageWrapper::OnSurfaceDiscarded()
ImageWrapper::OnSurfaceDiscarded(const SurfaceKey& aSurfaceKey)
{
return mInnerImage->OnSurfaceDiscarded();
return mInnerImage->OnSurfaceDiscarded(aSurfaceKey);
}
void