Bug 1608501 - Part 1: Rename nsImageLoadingContent::DestroyImageLoadingContent to ::Destroy; r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D82729
This commit is contained in:
Edgar Chen
2020-07-21 12:08:14 +00:00
parent 1feb2bac5a
commit 1207ff96d0
9 changed files with 15 additions and 17 deletions

View File

@@ -130,7 +130,7 @@ HTMLImageElement::HTMLImageElement(
AddStatesSilently(NS_EVENT_STATE_BROKEN);
}
HTMLImageElement::~HTMLImageElement() { DestroyImageLoadingContent(); }
HTMLImageElement::~HTMLImageElement() { nsImageLoadingContent::Destroy(); }
NS_IMPL_CYCLE_COLLECTION_INHERITED(HTMLImageElement, nsGenericHTMLElement,
mResponsiveSelector)