Bug 411989 ? JavaScript Error: "prefBranch.savePrefFile is not a function (r=gavin, a=schrep)

This commit is contained in:
dietrich@mozilla.com 2008-01-23 13:15:16 -08:00
parent 4fb0ef1ef8
commit 31dae384d0

View File

@ -509,7 +509,7 @@ BrowserGlue.prototype = {
}
finally {
prefBranch.setBoolPref("browser.places.createdSmartBookmarks", true);
prefBranch.savePrefFile(null);
prefBranch.QueryInterface(Ci.nsIPrefService).savePrefFile(null);
}
},