Bug 714261 - TransactionManager used as a service r=mak

This commit is contained in:
OHZEKI Tetsuharu 2012-02-25 07:46:00 -05:00
Родитель 19b08e6939
Коммит c39bb54077
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -2236,7 +2236,7 @@ XPCOMUtils.defineLazyGetter(PlacesUtils, "livemarks", function() {
XPCOMUtils.defineLazyGetter(PlacesUtils, "transactionManager", function() {
let tm = Cc["@mozilla.org/transactionmanager;1"].
getService(Ci.nsITransactionManager);
createInstance(Ci.nsITransactionManager);
tm.AddListener(PlacesUtils);
this.registerShutdownFunction(function () {
// Clear all references to local transactions in the transaction manager,