Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 06606dcbf1050eae0b303fbb3d4e4230347a1916..c7cda5ec8be0174eeb9ab1e7020af63b9971af14 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -5045,6 +5045,11 @@ PassRefPtr<Touch> Document::createTouch(DOMWindow* window, EventTarget* target, |
return Touch::create(frame, target, identifier, screenX, screenY, pageX, pageY, radiusX, radiusY, rotationAngle, force); |
} |
+PassRefPtr<TouchList> Document::createTouchList(Vector<RefPtr<Touch> >& touches) const |
+{ |
+ return TouchList::create(touches); |
+} |
+ |
void Document::didAddTouchEventHandler(Node* handler) |
{ |
if (!m_touchEventTargets.get()) |