diff options
author | win7-7 <win7-7@users.noreply.github.com> | 2019-08-08 16:44:51 +0300 |
---|---|---|
committer | win7-7 <win7-7@users.noreply.github.com> | 2019-08-08 16:44:51 +0300 |
commit | deae241f5e3db8f9b86b98933291b9a30e28db22 (patch) | |
tree | 150ec42d7352ffd8d61dafb4397d89bcaa396d5e /image/imgLoader.cpp | |
parent | 5a957202b70a0b11078b0cffa8967b63baff5661 (diff) | |
download | UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar.gz UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar.lz UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.tar.xz UXP-deae241f5e3db8f9b86b98933291b9a30e28db22.zip |
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
Diffstat (limited to 'image/imgLoader.cpp')
-rw-r--r-- | image/imgLoader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/image/imgLoader.cpp b/image/imgLoader.cpp index f7fb657bd..996ca01cf 100644 --- a/image/imgLoader.cpp +++ b/image/imgLoader.cpp @@ -1684,6 +1684,7 @@ imgLoader::ValidateRequestWithNewChannel(imgRequest* request, rv = newChannel->AsyncOpen2(listener); if (NS_WARN_IF(NS_FAILED(rv))) { + req->CancelAndForgetObserver(rv); return false; } |