Index: Source/core/events/EventDispatchMediator.cpp |
diff --git a/Source/core/events/EventDispatchMediator.cpp b/Source/core/events/EventDispatchMediator.cpp |
index 0ee176245b9a4e5896ae5361ede24e706ada09bd..f2b261a6c5040d4cf48da0362d0cd31a928a8129 100644 |
--- a/Source/core/events/EventDispatchMediator.cpp |
+++ b/Source/core/events/EventDispatchMediator.cpp |
@@ -36,9 +36,9 @@ |
namespace WebCore { |
-PassRefPtr<EventDispatchMediator> EventDispatchMediator::create(PassRefPtrWillBeRawPtr<Event> event) |
+PassRefPtrWillBeRawPtr<EventDispatchMediator> EventDispatchMediator::create(PassRefPtrWillBeRawPtr<Event> event) |
{ |
- return adoptRef(new EventDispatchMediator(event)); |
+ return adoptRefWillBeNoop(new EventDispatchMediator(event)); |
} |
EventDispatchMediator::EventDispatchMediator(PassRefPtrWillBeRawPtr<Event> event) |
@@ -46,6 +46,11 @@ EventDispatchMediator::EventDispatchMediator(PassRefPtrWillBeRawPtr<Event> event |
{ |
} |
+void EventDispatchMediator::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_event); |
+} |
+ |
bool EventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const |
{ |
ASSERT(m_event.get() == dispatcher->event()); |