Permalink
Browse files

Fix call to onIconDownloaded for useTmpFileForIcon case

  • Loading branch information...
1 parent 2bfe2fa commit 0af54cbc1a35230f23a00f5067508ce258a55c21 @anantn anantn committed Dec 10, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 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
}
};

0 comments on commit 0af54cb

Please sign in to comment.