Index: Source/core/dom/EventContext.cpp |
diff --git a/Source/core/dom/EventContext.cpp b/Source/core/dom/EventContext.cpp |
index 7b8dd56cd504ce2521f350e611f31594d105d028..30a44c5e28b3427669959150e968481ad6a01912 100644 |
--- a/Source/core/dom/EventContext.cpp |
+++ b/Source/core/dom/EventContext.cpp |
@@ -32,6 +32,7 @@ |
#include "core/dom/FocusEvent.h" |
#include "core/dom/MouseEvent.h" |
#include "core/dom/Node.h" |
+#include "core/dom/StaticNodeList.h" |
#include "core/dom/TouchEvent.h" |
#include "core/dom/TouchList.h" |
#include "core/page/DOMWindow.h" |
@@ -51,6 +52,11 @@ EventContext::~EventContext() |
{ |
} |
+void EventContext::adoptEventPath(Vector<RefPtr<Node> >& nodes) |
+{ |
+ m_eventPath = StaticNodeList::adopt(nodes); |
+} |
+ |
void EventContext::handleLocalEvents(Event* event) const |
{ |
event->setTarget(m_target.get()); |