Skip to content

Commit

Permalink
Specify dummy loading principal for setAndFetchFaviconForPage()
Browse files Browse the repository at this point in the history
Since Firefox 50.0a1:
Warning: ‘nsFaviconService::setAndFetchFaviconForPage()’ deprecated, please use ‘nsFaviconService::setAndFetchFaviconForPage(..., [optional aLoadingPrincipal])’
See https://hg.mozilla.org/mozilla-central/rev/e28c4c1378ac
  • Loading branch information
Infocatcher committed Jul 7, 2016
1 parent 55d0ff9 commit f2b9394
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3500,7 +3500,9 @@ var privateTab = {
bookmarkURI,
Services.io.newURI(icon, null, null),
false /*aForceReload*/,
faviconService.FAVICON_LOAD_PRIVATE
faviconService.FAVICON_LOAD_PRIVATE,
null /*nsIFaviconDataCallback aCallback*/,
null /*nsIPrincipal aLoadingPrincipal*/
);
}, 0);
}
Expand Down

0 comments on commit f2b9394

Please sign in to comment.