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 f287737ac5
commit 99390e3f14

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);