Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix call to onIconDownloaded for useTmpFileForIcon case

  • Loading branch information...
commit 0af54cbc1a35230f23a00f5067508ce258a55c21 1 parent 2bfe2fa
@anantn anantn authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 addons/jetpack/lib/nativeshell.js
View
6 addons/jetpack/lib/nativeshell.js
@@ -193,9 +193,11 @@ function getIconFromURI(nativeShell) {
cx,
aStatus,
file) {
- onIconDownloaded(aStatus,
+ onIconDownloaded(nativeShell,
+ mimeType,
+ aStatus,
file,
- downloader);
+ downloader); // pass downloader just to keep reference around
}
};
Please sign in to comment.
Something went wrong with that request. Please try again.