mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1224061 followup to fix bustage. r=me on a CLOSED TREE IGNORE IDL
This commit is contained in:
parent
13d023fa6b
commit
c9773e9cc2
@ -161,7 +161,7 @@ interface nsIDOMEvent : nsISupports
|
||||
* @param cancelableArg Specifies whether or not the event's default
|
||||
* action can be prevented.
|
||||
*/
|
||||
[notxpcom]
|
||||
[notxpcom,nostdcall]
|
||||
void initEvent(in DOMString eventTypeArg,
|
||||
in boolean canBubbleArg,
|
||||
in boolean cancelableArg);
|
||||
|
@ -1046,11 +1046,7 @@ ExtendableMessageEvent::Constructor(mozilla::dom::EventTarget* aEventTarget,
|
||||
{
|
||||
RefPtr<ExtendableMessageEvent> event = new ExtendableMessageEvent(aEventTarget);
|
||||
|
||||
aRv = event->InitEvent(aType, aOptions.mBubbles, aOptions.mCancelable);
|
||||
if (NS_WARN_IF(aRv.Failed())) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
event->InitEvent(aType, aOptions.mBubbles, aOptions.mCancelable);
|
||||
bool trusted = event->Init(aEventTarget);
|
||||
event->SetTrusted(trusted);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user