Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug

MozReview-Commit-ID: 1SgMbTL8csl
This commit is contained in:
Masayuki Nakano
2016-03-17 16:01:30 +09:00
parent ce8c25949d
commit 84e308d663
27 changed files with 81 additions and 82 deletions

View File

@@ -212,7 +212,7 @@ void
HTMLObjectElement::HandleFocusBlurPlugin(Element* aElement,
WidgetEvent* aEvent)
{
if (!aEvent->mFlags.mIsTrusted) {
if (!aEvent->IsTrusted()) {
return;
}
switch (aEvent->mMessage) {