Bug 1875822 - Remove unused TYPE_FAKE_PLUGIN from nsObjectLoadingContent. r=dom-core,webidl,peterv,smaug

Bonus clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D199271
This commit is contained in:
Emilio Cobos Álvarez
2024-01-25 18:41:16 +00:00
parent d2128faefa
commit e10cc9b317
9 changed files with 32 additions and 99 deletions

View File

@@ -3682,10 +3682,6 @@ nsCSSFrameConstructor::FindObjectData(const Element& aElement,
ToCreationFunc(NS_NewBlockFrame)),
SIMPLE_INT_CREATE(nsIObjectLoadingContent::TYPE_DOCUMENT,
NS_NewSubDocumentFrame),
// Fake plugin handlers load as documents
// XXXmats is TYPE_FAKE_PLUGIN something we need?
SIMPLE_INT_CREATE(nsIObjectLoadingContent::TYPE_FAKE_PLUGIN,
NS_NewSubDocumentFrame)
// Nothing for TYPE_NULL so we'll construct frames by display there
};