Bug 1410292 - Clear mInputElement after accessing it. r=mconley

MozReview-Commit-ID: BOIIlCvZA1L
This commit is contained in:
Jessica Jong 2017-11-03 17:30:12 +08:00
parent 551a052a4a
commit 5672a9dc25

View File

@ -1244,8 +1244,6 @@
<destructor>
<![CDATA[
this.mInputElement = null;
this.EVENTS.forEach((eventName) => {
this.removeEventListener(eventName, this, { mozSystemGroup: true });
});
@ -1255,6 +1253,8 @@
});
this.mInputElement.removeEventListener("click", this,
{ mozSystemGroup: true });
this.mInputElement = null;
]]>
</destructor>