Bug 1390660, part 1 - Clean up some uses of the table-to-map segue. r=peterv

In a number of places, there's no substantial use of maps any more
after the segue.

The ELEMENT segue tries the FragmentOrElement QI, but that is
redundant with the Element QI.

This lets me use a few higher-level macros.

MozReview-Commit-ID: Gstq3Cm8LDl
This commit is contained in:
Andrew McCreight
2017-08-16 13:37:20 -07:00
parent 29d6c67f1b
commit 1ca9932763
3 changed files with 10 additions and 21 deletions

View File

@@ -68,8 +68,7 @@ NS_INTERFACE_TABLE_INHERITED(HTMLEmbedElement,
nsIImageLoadingContent,
imgIOnloadBlocker,
nsIChannelEventSink)
NS_INTERFACE_TABLE_TO_MAP_SEGUE
NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElement)
NS_INTERFACE_TABLE_TAIL_INHERITING(nsGenericHTMLElement)
NS_IMPL_ELEMENT_CLONE(HTMLEmbedElement)