Bug 867632 - Replace _sendRequest() with _send() for PushService.unregister(). r=nsm

--HG--
extra : amend_source : 18127d1d10683069fa3ab12394aae63b9c0ac843
This commit is contained in:
Robert Picard 2013-07-07 13:37:23 -04:00
parent d000f2c08b
commit f8864f6dbf

View File

@ -1207,7 +1207,7 @@ this.PushService = {
this._db.delete(record.channelID, function() {
// Let's be nice to the server and try to inform it, but we don't care
// about the reply.
this._sendRequest("unregister", {channelID: record.channelID});
this._send("unregister", {channelID: record.channelID});
aMessageManager.sendAsyncMessage("PushService:Unregister:OK", {
requestID: aPageRecord.requestID,
pushEndpoint: aPageRecord.pushEndpoint