icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -81,6 +81,8 @@ RasterImage::RasterImage(nsIURI* aURI /* = nullptr */)
|
|||
|
||||
//******************************************************************************
|
||||
RasterImage::~RasterImage() {
|
||||
mIsBeingDestroyed = true;
|
||||
|
||||
// Make sure our SourceBuffer is marked as complete. This will ensure that any
|
||||
// outstanding decoders terminate.
|
||||
if (!mSourceBuffer->IsComplete()) {
|
||||
|
|
@ -489,8 +491,12 @@ RasterImage::WillDrawOpaqueNow() {
|
|||
void RasterImage::OnSurfaceDiscarded(const SurfaceKey& aSurfaceKey) {
|
||||
MOZ_ASSERT(mProgressTracker);
|
||||
|
||||
if (mIsBeingDestroyed) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool animatedFramesDiscarded =
|
||||
mAnimationState && aSurfaceKey.Playback() == PlaybackType::eAnimated;
|
||||
aSurfaceKey.Playback() == PlaybackType::eAnimated;
|
||||
|
||||
nsCOMPtr<nsIEventTarget> eventTarget = do_GetMainThread();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue