Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 467cc7c3e1ef6840d449eaffa100f866bac7cfd6..1a1bcd4a44e88013e04f6fa08d0a4f5d4326d011 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -5241,7 +5241,7 @@ PassRefPtrWillBeRawPtr<Touch> Document::createTouch(LocalDOMWindow* window, Even |
PassRefPtrWillBeRawPtr<TouchList> Document::createTouchList(WillBeHeapVector<RefPtrWillBeMember<Touch> >& touches) const |
{ |
- return TouchList::create(touches); |
+ return TouchList::adopt(touches); |
} |
DocumentLoader* Document::loader() const |