mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 882817 - Fix QI implementation of HTMLTrackElement. r=bz
In certain situations we were failing debug builds due to an assertion that HTMLTrackElement was not a nsIDOMNode or nsIDOMWindow when calling NS_CheckContentLoadPolicy in HTMLTrackElement::LoadResource() This patch fixes the QI of the HTMLTrackElement so that it can be queried to an nsIDOMNode correctly.
This commit is contained in:
parent
e6d47d953b
commit
77b71509b9
@ -94,7 +94,8 @@ NS_IMPL_CYCLE_COLLECTION_INHERITED_4(HTMLTrackElement, nsGenericHTMLElement,
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(HTMLTrackElement)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMHTMLElement)
|
||||
NS_INTERFACE_MAP_END_INHERITING(nsGenericHTMLElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
void
|
||||
HTMLTrackElement::OnChannelRedirect(nsIChannel* aChannel,
|
||||
|
Loading…
Reference in New Issue
Block a user