Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
This commit is contained in:
@@ -156,7 +156,10 @@ HTMLMetaElement::CreateAndDispatchEvent(nsIDocument* aDoc,
|
||||
return;
|
||||
|
||||
RefPtr<AsyncEventDispatcher> asyncDispatcher =
|
||||
new AsyncEventDispatcher(this, aEventName, true, true);
|
||||
new AsyncEventDispatcher(this,
|
||||
aEventName,
|
||||
CanBubble::eYes,
|
||||
ChromeOnlyDispatch::eYes);
|
||||
asyncDispatcher->RunDOMEventWhenSafe();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user