зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1461954: Fix nsBulletFrame's image request registration code. r=tnikkel
Ideas for a test for this welcome :). MozReview-Commit-ID: 1IpUlakeKXm --HG-- extra : rebase_source : 54ef3968cb868b998cd161e70786c84304099729
This commit is contained in:
Родитель
7c6c0db9ce
Коммит
44b34ec276
|
@ -1413,7 +1413,7 @@ nsBulletFrame::RegisterImageRequest(bool aKnownToBeAnimated)
|
|||
&isRequestRegistered);
|
||||
}
|
||||
|
||||
isRequestRegistered = mRequestRegistered;
|
||||
mRequestRegistered = isRequestRegistered;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1431,7 +1431,7 @@ nsBulletFrame::DeregisterAndCancelImageRequest()
|
|||
mImageRequest,
|
||||
&isRequestRegistered);
|
||||
|
||||
isRequestRegistered = mRequestRegistered;
|
||||
mRequestRegistered = isRequestRegistered;
|
||||
|
||||
// Cancel the image request and forget about it.
|
||||
mImageRequest->CancelAndForgetObserver(NS_ERROR_FAILURE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче