Index: Source/core/events/EventTarget.h |
diff --git a/Source/core/events/EventTarget.h b/Source/core/events/EventTarget.h |
index c1bf895d476ccdb61ed82d4813e756a1f37781ca..95b00150b14fadd3a0d30cc5a1806d67200c06ad 100644 |
--- a/Source/core/events/EventTarget.h |
+++ b/Source/core/events/EventTarget.h |
@@ -34,6 +34,7 @@ |
#include "core/events/EventListenerMap.h" |
#include "core/events/ThreadLocalEventNames.h" |
+#include "heap/Handle.h" |
#include "wtf/Forward.h" |
namespace WebCore { |
@@ -117,8 +118,8 @@ public: |
bool removeEventListener(const AtomicString& eventType) { return false; } |
virtual bool removeEventListener(const AtomicString& eventType, EventListener*, bool useCapture = false); |
virtual void removeAllEventListeners(); |
- virtual bool dispatchEvent(PassRefPtr<Event>); |
- bool dispatchEvent(PassRefPtr<Event>, ExceptionState&); // DOM API |
+ virtual bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>); |
+ bool dispatchEvent(PassRefPtrWillBeRawPtr<Event>, ExceptionState&); // DOM API |
virtual void uncaughtExceptionInEventHandler(); |
// Used for legacy "onEvent" attribute APIs. |