From 7f3b3d3e90c207d279eb3645d2742a3dfd730823 Mon Sep 17 00:00:00 2001 From: Frank-Rainer Grahl Date: Wed, 18 Jul 2018 14:01:47 +0200 Subject: [PATCH] Bug 1475524 - Port Bug 1433037 [taskbar preview's favicon appears blank]. r=IanN --- suite/modules/WindowsPreviewPerTab.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/modules/WindowsPreviewPerTab.jsm b/suite/modules/WindowsPreviewPerTab.jsm index 1100da8ec6..f8aeee72d6 100644 --- a/suite/modules/WindowsPreviewPerTab.jsm +++ b/suite/modules/WindowsPreviewPerTab.jsm @@ -85,7 +85,7 @@ function _imageFromURI(uri, privateMode, callback) { if (!Components.isSuccessCode(resultCode)) return; try { - let out_img = imgTools.decodeImage(inputStream, channel.contentType); + let out_img = imgTools.decodeImageAsync(inputStream, channel.contentType); callback(out_img); } catch (e) { // We failed, so use the default favicon (only if this wasn't the default