Bug 1608501 - Part 2: Rename nsObjectLoadingContent::DestroyContent to ::Destroy; r=smaug

Depends on D82729

Differential Revision: https://phabricator.services.mozilla.com/D84341
This commit is contained in:
Edgar Chen 2020-07-21 16:11:29 +00:00
parent e10324adb1
commit 797c3c86a1
4 changed files with 4 additions and 4 deletions

View File

@ -2411,7 +2411,7 @@ uint32_t nsObjectLoadingContent::GetCapabilities() const {
return eSupportImages | eSupportPlugins | eSupportDocuments;
}
void nsObjectLoadingContent::DestroyContent() {
void nsObjectLoadingContent::Destroy() {
if (mFrameLoader) {
mFrameLoader->Destroy();
mFrameLoader = nullptr;

View File

@ -306,7 +306,7 @@ class nsObjectLoadingContent : public nsImageLoadingContent,
/**
* Destroys all loaded documents/plugins and releases references
*/
void DestroyContent();
void Destroy();
static void Traverse(nsObjectLoadingContent* tmp,
nsCycleCollectionTraversalCallback& cb);

View File

@ -261,7 +261,7 @@ uint32_t HTMLEmbedElement::GetCapabilities() const {
}
void HTMLEmbedElement::DestroyContent() {
nsObjectLoadingContent::DestroyContent();
nsObjectLoadingContent::Destroy();
nsGenericHTMLElement::DestroyContent();
}

View File

@ -447,7 +447,7 @@ uint32_t HTMLObjectElement::GetCapabilities() const {
}
void HTMLObjectElement::DestroyContent() {
nsObjectLoadingContent::DestroyContent();
nsObjectLoadingContent::Destroy();
nsGenericHTMLFormElement::DestroyContent();
}