Bug 311169 - typo in sanitize.js pref call (nsIBranch instead of nsIPrefBranch from bug 284086). r=mconnnor

This commit is contained in:
rob_strong%exchangecode.com 2005-10-05 19:42:00 +00:00
Родитель bf007a531f
Коммит 3535769305
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -110,7 +110,7 @@ Sanitizer.prototype = {
// for details on how we guess the cache directory
try {
cacheDir = cc["@mozilla.org/preferences-service;1"]
.getService(ci.nsIBranch)
.getService(ci.nsIPrefBranch)
.getComplexValue("browser.cache.disk.parent_directory",
ci.nsILocalFile);
} catch(er) {
@ -137,8 +137,10 @@ Sanitizer.prototype = {
} catch(er) {}
}
// The "nice" way
cacheService.evictEntries(ci.nsICache.STORE_ANYWHERE);
try {
// The "nice" way
cacheService.evictEntries(ci.nsICache.STORE_ANYWHERE);
} catch(er) {}
},