mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
Bug 1563687 - Renamed ContentProcessSession.destroy to destructor in order to match this project's conventions. r=remote-protocol-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D37041 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
cf67d306f8
commit
c64c4d7ee4
@ -31,7 +31,7 @@ class ContentProcessSession {
|
||||
this.messageManager.addMessageListener("remote:destroy", this);
|
||||
}
|
||||
|
||||
destroy() {
|
||||
destructor() {
|
||||
this.messageManager.removeMessageListener("remote:request", this);
|
||||
this.messageManager.removeMessageListener("remote:destroy", this);
|
||||
this.domains.clear();
|
||||
@ -93,7 +93,7 @@ class ContentProcessSession {
|
||||
break;
|
||||
|
||||
case "remote:destroy":
|
||||
this.destroy();
|
||||
this.destructor();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user