diff --git a/toolkit/components/url-classifier/SafeBrowsing.jsm b/toolkit/components/url-classifier/SafeBrowsing.jsm index f6ef132303f2..9f39b97cfa4b 100644 --- a/toolkit/components/url-classifier/SafeBrowsing.jsm +++ b/toolkit/components/url-classifier/SafeBrowsing.jsm @@ -35,7 +35,7 @@ this.SafeBrowsing = { return; } - Services.prefs.addObserver("browser.safebrowsing", this.readPrefs, false); + Services.prefs.addObserver("browser.safebrowsing", this.readPrefs.bind(this), false); this.readPrefs(); // Register our two types of tables, and add custom Mozilla entries