summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp b/chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
index 032d0b8f9ad..f2b261a6c50 100644
--- a/chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
+++ b/chromium/third_party/WebKit/Source/core/events/EventDispatchMediator.cpp
@@ -36,16 +36,21 @@
namespace WebCore {
-PassRefPtr<EventDispatchMediator> EventDispatchMediator::create(PassRefPtr<Event> event)
+PassRefPtrWillBeRawPtr<EventDispatchMediator> EventDispatchMediator::create(PassRefPtrWillBeRawPtr<Event> event)
{
- return adoptRef(new EventDispatchMediator(event));
+ return adoptRefWillBeNoop(new EventDispatchMediator(event));
}
-EventDispatchMediator::EventDispatchMediator(PassRefPtr<Event> event)
+EventDispatchMediator::EventDispatchMediator(PassRefPtrWillBeRawPtr<Event> event)
: m_event(event)
{
}
+void EventDispatchMediator::trace(Visitor* visitor)
+{
+ visitor->trace(m_event);
+}
+
bool EventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
{
ASSERT(m_event.get() == dispatcher->event());