Bug 984015 - GUIDHelper.getItemId should deliver itself as |this| to his internal executeAsync callback. r=mak

This commit is contained in:
Tetsuharu OHZEKI 2014-03-23 21:51:17 +09:00
parent 666e28991c
commit 728528ac9f

View File

@ -1698,7 +1698,7 @@ let GUIDHelper = {
if (row)
itemId = row.getResultByIndex(0);
},
handleCompletion: function (aReason) {
handleCompletion: aReason => {
if (aReason == REASON_FINISHED && itemId != -1) {
deferred.resolve(itemId);
@ -1732,7 +1732,7 @@ let GUIDHelper = {
guid = row.getResultByIndex(1);
}
},
handleCompletion: function (aReason) {
handleCompletion: aReason => {
if (aReason == REASON_FINISHED && guid) {
deferred.resolve(guid);