зеркало из https://github.com/mozilla/gecko-dev.git
Bug 714261 - TransactionManager used as a service r=mak
This commit is contained in:
Родитель
19b08e6939
Коммит
c39bb54077
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче