Bug 969331 - Part c: Remove the nsresult return value from nsEventTargetChainItem::PostHandleEvent; r=smaug

This commit is contained in:
Ms2ger 2014-02-09 09:04:39 +01:00
parent f947f129ec
commit 9fd84eb72a

View File

@ -200,7 +200,7 @@ public:
/**
* Copies mItemFlags and mItemData to aVisitor and calls PostHandleEvent.
*/
nsresult PostHandleEvent(nsEventChainPostVisitor& aVisitor);
void PostHandleEvent(nsEventChainPostVisitor& aVisitor);
nsCOMPtr<EventTarget> mTarget;
uint16_t mFlags;
@ -230,13 +230,12 @@ nsEventTargetChainItem::PreHandleEvent(nsEventChainPreVisitor& aVisitor)
mItemData = aVisitor.mItemData;
}
nsresult
void
nsEventTargetChainItem::PostHandleEvent(nsEventChainPostVisitor& aVisitor)
{
aVisitor.mItemFlags = mItemFlags;
aVisitor.mItemData = mItemData;
mTarget->PostHandleEvent(aVisitor);
return NS_OK;
}
void