Index: Source/core/events/EventTarget.cpp |
diff --git a/Source/core/events/EventTarget.cpp b/Source/core/events/EventTarget.cpp |
index 1153a1551abbefe875abdcdcba8830215b2a2358..b03435180c01633c12c9208132be8159a5dc5bf0 100644 |
--- a/Source/core/events/EventTarget.cpp |
+++ b/Source/core/events/EventTarget.cpp |
@@ -186,11 +186,13 @@ bool EventTarget::dispatchEventForBindings(PassRefPtrWillBeRawPtr<Event> event, |
if (!executionContext()) |
return false; |
+ event->setTrusted(false); |
return dispatchEventInternal(event); |
} |
bool EventTarget::dispatchEvent(PassRefPtrWillBeRawPtr<Event> event) |
{ |
+ event->setTrusted(true); |
return dispatchEventInternal(event); |
} |