mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
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:
parent
e10324adb1
commit
797c3c86a1
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -261,7 +261,7 @@ uint32_t HTMLEmbedElement::GetCapabilities() const {
|
||||
}
|
||||
|
||||
void HTMLEmbedElement::DestroyContent() {
|
||||
nsObjectLoadingContent::DestroyContent();
|
||||
nsObjectLoadingContent::Destroy();
|
||||
nsGenericHTMLElement::DestroyContent();
|
||||
}
|
||||
|
||||
|
@ -447,7 +447,7 @@ uint32_t HTMLObjectElement::GetCapabilities() const {
|
||||
}
|
||||
|
||||
void HTMLObjectElement::DestroyContent() {
|
||||
nsObjectLoadingContent::DestroyContent();
|
||||
nsObjectLoadingContent::Destroy();
|
||||
nsGenericHTMLFormElement::DestroyContent();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user