Index: content/browser/renderer_host/input/touch_event_queue.h |
diff --git a/content/browser/renderer_host/input/touch_event_queue.h b/content/browser/renderer_host/input/touch_event_queue.h |
index 31a69fcb18eba261e87676d91e84ef21bace8421..292f3d664d24220b080d4f55f2772ee46e4ae39b 100644 |
--- a/content/browser/renderer_host/input/touch_event_queue.h |
+++ b/content/browser/renderer_host/input/touch_event_queue.h |
@@ -10,6 +10,7 @@ |
#include <deque> |
#include <list> |
+#include <memory> |
#include "base/macros.h" |
#include "base/time/time.h" |
@@ -183,8 +184,7 @@ class CONTENT_EXPORT TouchEventQueue { |
// Handles touch event forwarding and ack'ed event dispatch. |
TouchEventQueueClient* client_; |
- typedef std::list<CoalescedWebTouchEvent*> TouchQueue; |
- TouchQueue touch_queue_; |
+ std::list<std::unique_ptr<CoalescedWebTouchEvent>> touch_queue_; |
// Position of the first touch in the most recent sequence forwarded to the |
// client. |