Index: Source/core/dom/Event.h |
diff --git a/Source/core/dom/Event.h b/Source/core/dom/Event.h |
index 0ec17f818f76b7f8c5995de468f1c876e2e461d6..f736261dfa81fad18b21bd05d990ce51e8c6fcc0 100644 |
--- a/Source/core/dom/Event.h |
+++ b/Source/core/dom/Event.h |
@@ -94,6 +94,7 @@ public: |
void initEvent(const AtomicString& type, bool canBubble, bool cancelable); |
const AtomicString& type() const { return m_type; } |
+ void setType(const AtomicString& type) { m_type = type; } |
EventTarget* target() const { return m_target.get(); } |
void setTarget(PassRefPtr<EventTarget>); |