Bug 1608501 - Part 3: Clean up image request in DestroyContent; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D82875
This commit is contained in:
@@ -5825,6 +5825,11 @@ void HTMLInputElement::DoneCreatingElement() {
|
||||
mShouldInitChecked = false;
|
||||
}
|
||||
|
||||
void HTMLInputElement::DestroyContent() {
|
||||
nsImageLoadingContent::Destroy();
|
||||
TextControlElement::DestroyContent();
|
||||
}
|
||||
|
||||
EventStates HTMLInputElement::IntrinsicState() const {
|
||||
// If you add states here, and they're type-dependent, you need to add them
|
||||
// to the type case in AfterSetAttr.
|
||||
|
||||
Reference in New Issue
Block a user