Index: Source/core/events/UIEvent.cpp |
diff --git a/Source/core/events/UIEvent.cpp b/Source/core/events/UIEvent.cpp |
index c19a74f33a2fcef21468023a3ac119c118829ae9..ba85c8185a8b87f002ca7e692cc25b5b5ffad3a5 100644 |
--- a/Source/core/events/UIEvent.cpp |
+++ b/Source/core/events/UIEvent.cpp |
@@ -38,7 +38,7 @@ UIEvent::UIEvent() |
ScriptWrappable::init(this); |
} |
-UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, PassRefPtr<AbstractView> viewArg, int detailArg) |
+UIEvent::UIEvent(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg) |
: Event(eventType, canBubbleArg, cancelableArg) |
, m_view(viewArg) |
, m_detail(detailArg) |
@@ -58,7 +58,7 @@ UIEvent::~UIEvent() |
{ |
} |
-void UIEvent::initUIEvent(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg, PassRefPtr<AbstractView> viewArg, int detailArg) |
+void UIEvent::initUIEvent(const AtomicString& typeArg, bool canBubbleArg, bool cancelableArg, PassRefPtrWillBeRawPtr<AbstractView> viewArg, int detailArg) |
{ |
if (dispatched()) |
return; |
@@ -116,6 +116,7 @@ int UIEvent::which() const |
void UIEvent::trace(Visitor* visitor) |
{ |
+ visitor->trace(m_view); |
Event::trace(visitor); |
} |