Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
This commit is contained in:
@@ -58,7 +58,9 @@ HTMLDetailsElement::BeforeSetAttr(int32_t aNameSpaceID, nsAtom* aName,
|
||||
// According to the html spec, a 'toggle' event is a simple event which
|
||||
// does not bubble.
|
||||
mToggleEventDispatcher =
|
||||
new AsyncEventDispatcher(this, NS_LITERAL_STRING("toggle"), false);
|
||||
new AsyncEventDispatcher(this,
|
||||
NS_LITERAL_STRING("toggle"),
|
||||
CanBubble::eNo);
|
||||
mToggleEventDispatcher->PostDOMEvent();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user