Bug 752906 - Fix GCLI memory cleanup issues found during Developer Toolbar memory work; r=dcamp

This commit is contained in:
Joe Walker 2012-05-15 11:27:19 +01:00
parent 517b829082
commit 4459cdb137

View File

@ -8012,8 +8012,8 @@ function Menu(options) {
*/
Menu.prototype.destroy = function() {
delete this.element;
delete this.items;
delete this.template;
delete this.document;
};
/**
@ -9835,8 +9835,6 @@ Tooltip.prototype.destroy = function() {
delete this.descriptionEle;
delete this.highlightEle;
delete this.field;
delete this.focusManager;
delete this.document;
delete this.element;
delete this.panelElement;