diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-16 20:02:55 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-16 20:02:55 -0400 |
commit | ab05e6f9ad185a1f7c405fd29876edca9e0567ba (patch) | |
tree | bdbd266d06ba82c45f0a42c86b5442e992ef27dd /dom/html/HTMLInputElement.h | |
parent | 2f59167e65132fc652456ae8629c1246a9b4b2cb (diff) | |
download | UXP-ab05e6f9ad185a1f7c405fd29876edca9e0567ba.tar UXP-ab05e6f9ad185a1f7c405fd29876edca9e0567ba.tar.gz UXP-ab05e6f9ad185a1f7c405fd29876edca9e0567ba.tar.lz UXP-ab05e6f9ad185a1f7c405fd29876edca9e0567ba.tar.xz UXP-ab05e6f9ad185a1f7c405fd29876edca9e0567ba.zip |
Bug 1347640 - HTMLInputElement shouldn't try to cancel image request on all the type changes
* Move the changing of HTMLInputElement's mType from ParseAttribute to AfterSetAttr
* Move a few more things from AfterSetAttr to HandleTypeChange
Tag #1375
Diffstat (limited to 'dom/html/HTMLInputElement.h')
-rw-r--r-- | dom/html/HTMLInputElement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/HTMLInputElement.h b/dom/html/HTMLInputElement.h index 86bc7d030..d6a078f0b 100644 --- a/dom/html/HTMLInputElement.h +++ b/dom/html/HTMLInputElement.h @@ -1100,7 +1100,7 @@ protected: /** * Manages the internal data storage across type changes. */ - void HandleTypeChange(uint8_t aNewType); + void HandleTypeChange(uint8_t aNewType, bool aNotify); /** * Sanitize the value of the element depending of its current type. |